<?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: Select not filtered items for a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3107256#M109597</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;, solution works!&lt;/P&gt;&lt;P&gt;Much appreciated!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 07:18:44 GMT</pubDate>
    <dc:creator>robitobi</dc:creator>
    <dc:date>2023-03-02T07:18:44Z</dc:date>
    <item>
      <title>Select not filtered items for a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3106702#M109534</link>
      <description>&lt;P&gt;Dear Power BI Experts,&lt;/P&gt;&lt;P&gt;I have a situation where I want to get a measure for filtered values and another measure as reference which is consisting of all not filtered values.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;In my data I have countries and a value. With a measure, I want to calculate a formula (as an example: the average) of the values.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now I have a request that we have a slicer where I could select some values (e.g. DE and ES) and I want to get the measure (no problem) and a second measure which shows the average for all other not filtered values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result should be like this:&lt;/P&gt;&lt;P&gt;Measure for filtered values (this is no problem):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure2 for all other than the filtered values:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason is that we want to use the Measure as actual value in a KPI visual and Measure2 as reference value in the same KPI visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how Measure2 needs to be defined so that it can be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any hint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Robitobi&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 21:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3106702#M109534</guid>
      <dc:creator>robitobi</dc:creator>
      <dc:date>2023-03-01T21:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select not filtered items for a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3106790#M109542</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="341582" data-lia-user-login="robitobi" class="lia-mention lia-mention-user"&gt;robitobi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;measure1=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGE(TableName[value])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;measure2=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; AVERAGE(TableName[value]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; EXCEPT(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ALL(TableName[Country]),&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VALUES(TableName[Country])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 00:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3106790#M109542</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-02T00:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select not filtered items for a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3107256#M109597</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;, solution works!&lt;/P&gt;&lt;P&gt;Much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 07:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Select-not-filtered-items-for-a-measure/m-p/3107256#M109597</guid>
      <dc:creator>robitobi</dc:creator>
      <dc:date>2023-03-02T07:18:44Z</dc:date>
    </item>
  </channel>
</rss>

