<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Counting All Distinct values without using specific Filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755898#M2991</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thank you for quick respone on this. It did work well for first question but for second i tried to use this in the bar chart but apparently what ever gets dragged first in the "AXIS" section it rules the result in bar chart.&lt;/P&gt;&lt;P&gt;So it end up working like single level grouping instead of 2 level of grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 03:45:48 GMT</pubDate>
    <dc:creator>rds_2019</dc:creator>
    <dc:date>2019-08-02T03:45:48Z</dc:date>
    <item>
      <title>Counting All Distinct values without using specific Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755747#M2983</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to count values in columns without using specifc filter for 1 conditions how this can be done, this can be done quite easily using Grouping in SQL but not sure about Power BI:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. With single query how can i get total number of count for column1 WITHOUT USING FILTER ON ANY SPECIFIC VALUE, thus saying:-&lt;/P&gt;&lt;P&gt;a=4 , b=5 and c=2&lt;/P&gt;&lt;P&gt;2.With second query how can i count column2 based on column 1 WITHOUT USING FILTER ON ANY SPECIFIC VALUE of column1, so answ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gt;&lt;TD&gt;ss&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;ff&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 22:55:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755747#M2983</guid>
      <dc:creator>rds_2019</dc:creator>
      <dc:date>2019-08-01T22:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting All Distinct values without using specific Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755766#M2985</link>
      <description>&lt;P&gt;Create 2 measures, both will be simple COUNT.&lt;/P&gt;&lt;P&gt;Here's one, you do the other&lt;/P&gt;&lt;PRE&gt;Measure1 = COUNT('Table X'[Column 1])&lt;/PRE&gt;&lt;P&gt;For your first query, drag Column 1 and Measure 1 on to a table.&lt;/P&gt;&lt;P&gt;For your 2nd query, drag Column 1, Column 2 and Measure 2 on to another table&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 23:31:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755766#M2985</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2019-08-01T23:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Counting All Distinct values without using specific Filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755898#M2991</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thank you for quick respone on this. It did work well for first question but for second i tried to use this in the bar chart but apparently what ever gets dragged first in the "AXIS" section it rules the result in bar chart.&lt;/P&gt;&lt;P&gt;So it end up working like single level grouping instead of 2 level of grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 03:45:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-All-Distinct-values-without-using-specific-Filter/m-p/755898#M2991</guid>
      <dc:creator>rds_2019</dc:creator>
      <dc:date>2019-08-02T03:45:48Z</dc:date>
    </item>
  </channel>
</rss>

