<?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: Combine different measures into 1 Slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3399244#M128312</link>
    <description>&lt;P&gt;Dear Neeko Tang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;You know, when I make standalone same example as you have provided then it works good.&lt;/P&gt;&lt;P&gt;But when I integrate the logic into my Query, it stop working.&lt;/P&gt;&lt;P&gt;And I cannot undertand why.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think the reason is that I have multiple Filter sections like Pass, Open, Fail and the Flag does not have any affect on them.&lt;/P&gt;&lt;P&gt;When I select any field from Filter, nothing is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or another reason can be that another thing, the Filter value is always 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas what is hapenning please?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 13:59:13 GMT</pubDate>
    <dc:creator>haykp</dc:creator>
    <dc:date>2023-08-25T13:59:13Z</dc:date>
    <item>
      <title>Combine different measures into 1 Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3395387#M128075</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Community,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone please help me implement one smart filter in PowerBI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think with DAX it is possible to do, thus posting here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I have several slicers, which only TRUE values are interesitng.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I want to combine these seperate slicers - Suspect, Unplanned,... into 1 slicer, something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;( each of them is seperate measure)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;So 1 Filter slicer, which contains these measures. And when in Filter section, user select Suspect, it shows only the Suspect=True values.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Is there any ideas how I can do this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I read and tries so many google posts, that now lost a hope to accomplish this &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hayk&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Aug 2023 17:49:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3395387#M128075</guid>
      <dc:creator>haykp</dc:creator>
      <dc:date>2023-08-23T17:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Combine different measures into 1 Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3398268#M128238</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="542319" data-lia-user-login="haykp" class="lia-mention lia-mention-user"&gt;haykp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)Create a slicer table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Slicer = {"Suspect","Unplanned","Unimplemented","Not Reviewed"}&lt;/LI-CODE&gt;
&lt;P&gt;(3) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = SWITCH(TRUE(),
SELECTEDVALUE('Slicer'[Filter])="Suspect" &amp;amp;&amp;amp; MAX('Data'[Suspect])="TRUE",1,
SELECTEDVALUE('Slicer'[Filter])="Unplanned" &amp;amp;&amp;amp; MAX('Data'[Unplanned])="TRUE",1,
SELECTEDVALUE('Slicer'[Filter])="Unimplemented" &amp;amp;&amp;amp; MAX('Data'[Unimplemented])="TRUE",1,
SELECTEDVALUE('Slicer'[Filter])="Not Reviewed" &amp;amp;&amp;amp; MAX('Data'[Not Reviewed])="TRUE",1,
ISFILTERED(Slicer[Filter])=FALSE(),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(4) Place [Flag]=1 on the visual object filter.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 05:33:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3398268#M128238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-25T05:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Combine different measures into 1 Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3399244#M128312</link>
      <description>&lt;P&gt;Dear Neeko Tang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;You know, when I make standalone same example as you have provided then it works good.&lt;/P&gt;&lt;P&gt;But when I integrate the logic into my Query, it stop working.&lt;/P&gt;&lt;P&gt;And I cannot undertand why.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think the reason is that I have multiple Filter sections like Pass, Open, Fail and the Flag does not have any affect on them.&lt;/P&gt;&lt;P&gt;When I select any field from Filter, nothing is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or another reason can be that another thing, the Filter value is always 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas what is hapenning please?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 13:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3399244#M128312</guid>
      <dc:creator>haykp</dc:creator>
      <dc:date>2023-08-25T13:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combine different measures into 1 Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3401690#M128467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="542319" data-lia-user-login="haykp" class="lia-mention lia-mention-user"&gt;haykp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)Through my tests it worked.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:12:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-different-measures-into-1-Slicer/m-p/3401690#M128467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-28T07:12:16Z</dc:date>
    </item>
  </channel>
</rss>

