<?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: Filter based on count of legendsbhaving values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/1000025#M12655</link>
    <description>&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;</description>
    <pubDate>Tue, 31 Mar 2020 07:13:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-31T07:13:46Z</dc:date>
    <item>
      <title>Filter based on count of legendsbhaving values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/999924#M12651</link>
      <description>&lt;P&gt;if there there are 2 legends and for one value only one legent have value then i dont want to show that legend. means if both legends have value then only bar should be shown (Source is SSAS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Mar 2020 06:38:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/999924#M12651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-31T06:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on count of legendsbhaving values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/1000025#M12655</link>
      <description>&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:13:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/1000025#M12655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-31T07:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on count of legendsbhaving values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/4848248#M185020</link>
      <description>&lt;P data-start="200" data-end="372"&gt;Create these measures in your SSAS model and use the third one in the visual.&lt;/P&gt;
&lt;H1 data-start="374" data-end="399"&gt;Legends with data count&lt;/H1&gt;
&lt;P data-start="400" data-end="516"&gt;COUNTROWS(&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED( 'Legend'[Legend] ),&lt;BR /&gt;NOT ISBLANK( CALCULATE( [Amount] ) )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;H1 data-start="518" data-end="542"&gt;Legends required count&lt;/H1&gt;
&lt;P data-start="543" data-end="587"&gt;COUNTROWS( ALLSELECTED( 'Legend'[Legend] ) )&lt;/P&gt;
&lt;H1 data-start="589" data-end="627"&gt;Amount only when all legends present&lt;/H1&gt;
&lt;P data-start="628" data-end="717"&gt;IF(&lt;BR /&gt;[Legends with data count] = [Legends required count],&lt;BR /&gt;[Amount],&lt;BR /&gt;BLANK()&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 13:21:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-based-on-count-of-legendsbhaving-values/m-p/4848248#M185020</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2025-10-12T13:21:04Z</dc:date>
    </item>
  </channel>
</rss>

