<?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: Fixing Dynamic Measure Slicer in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Fixing-Dynamic-Measure-Slicer/m-p/2731302#M38212</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, selectedvalue does not suitable to handle multiple selections, if you do not set 'alternate result' option it will return blank when you select multiple items.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For this sceaniro, I'd like to suggest adding a variable table with summarize function to do customized to handle each calculation and aggregate them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank"&gt;SELECTEDVALUE function - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 02:54:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-29T02:54:19Z</dc:date>
    <item>
      <title>Fixing Dynamic Measure Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixing-Dynamic-Measure-Slicer/m-p/2726372#M38158</link>
      <description>&lt;P&gt;I have built a measure slicer that is working almost as expected.&lt;/P&gt;&lt;P&gt;I started by creating a disconnected table with all of my measures:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIDev4Life_0-1661435473363.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/772146iECDD1E971F9CC3E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BIDev4Life_0-1661435473363.png" alt="BIDev4Life_0-1661435473363.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then created measures which reference the table to pick which one is displayed on a chart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;A Ancillary/OTC % of Rev = if(selectedvalue(slicertable[slicer value]) = 2 || isblank(selectedvalue(slicertable[slicer value])) ,[Ancillary/OTC % of Rev])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a single measure is selected, the visual shows that single measure as expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIDev4Life_1-1661435565574.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/772147iD10E37B85F1C6777/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BIDev4Life_1-1661435565574.png" alt="BIDev4Life_1-1661435565574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when selecting 2 or more measures, every measure is shown on the chart. It should only be showing those two measures:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIDev4Life_2-1661435607410.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/772150i83976AEA637A6BF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BIDev4Life_2-1661435607410.png" alt="BIDev4Life_2-1661435607410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am I missing here? Is it the DAX logic? Or the method I have used entirely?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 13:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixing-Dynamic-Measure-Slicer/m-p/2726372#M38158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-25T13:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing Dynamic Measure Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fixing-Dynamic-Measure-Slicer/m-p/2731302#M38212</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, selectedvalue does not suitable to handle multiple selections, if you do not set 'alternate result' option it will return blank when you select multiple items.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For this sceaniro, I'd like to suggest adding a variable table with summarize function to do customized to handle each calculation and aggregate them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank"&gt;SELECTEDVALUE function - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 02:54:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fixing-Dynamic-Measure-Slicer/m-p/2731302#M38212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-29T02:54:19Z</dc:date>
    </item>
  </channel>
</rss>

