<?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 Dynamic selection with percentage slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3212153#M117184</link>
    <description>&lt;P&gt;Dear community&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"I Want to slice dealer&amp;nbsp; achivemnt sales with percentage slicer".&lt;BR /&gt;&amp;nbsp;I have 2 table&lt;BR /&gt;cube_invoice&lt;BR /&gt;cube _arget,&lt;BR /&gt;in cube_invoice table have their dealer code and its sales quantity ,&lt;BR /&gt;in cube _target, table also have&amp;nbsp;dealer code and its&amp;nbsp; target&amp;nbsp; quantity.&lt;BR /&gt;with the help of data modeling i combine these table and get this condition&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Here target achieved with this measure&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Target Achieved % = DIVIDE( SUM(CUBE_INVOICE[INVOICE QUANTITY]), SUM(CUBE_TARGET[TARGET QUANTITY]) )
&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Now i want To satisfy this condition if I select 0 to 20% on the slicer, then it will only return the names of dealers who have achieved 20% sales; that is, it should not return the entire value of the slices.&lt;BR /&gt;&lt;/STRONG&gt;Please help&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2023 04:39:41 GMT</pubDate>
    <dc:creator>sachinnamdeo798</dc:creator>
    <dc:date>2023-04-29T04:39:41Z</dc:date>
    <item>
      <title>Dynamic selection with percentage slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3212153#M117184</link>
      <description>&lt;P&gt;Dear community&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"I Want to slice dealer&amp;nbsp; achivemnt sales with percentage slicer".&lt;BR /&gt;&amp;nbsp;I have 2 table&lt;BR /&gt;cube_invoice&lt;BR /&gt;cube _arget,&lt;BR /&gt;in cube_invoice table have their dealer code and its sales quantity ,&lt;BR /&gt;in cube _target, table also have&amp;nbsp;dealer code and its&amp;nbsp; target&amp;nbsp; quantity.&lt;BR /&gt;with the help of data modeling i combine these table and get this condition&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Here target achieved with this measure&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Target Achieved % = DIVIDE( SUM(CUBE_INVOICE[INVOICE QUANTITY]), SUM(CUBE_TARGET[TARGET QUANTITY]) )
&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Now i want To satisfy this condition if I select 0 to 20% on the slicer, then it will only return the names of dealers who have achieved 20% sales; that is, it should not return the entire value of the slices.&lt;BR /&gt;&lt;/STRONG&gt;Please help&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 04:39:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3212153#M117184</guid>
      <dc:creator>sachinnamdeo798</dc:creator>
      <dc:date>2023-04-29T04:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection with percentage slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3214605#M117341</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 00:53:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3214605#M117341</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-05-02T00:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection with percentage slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3214696#M117344</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="512705" data-lia-user-login="sachinnamdeo798" class="lia-mention lia-mention-user"&gt;sachinnamdeo798&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Consider creating an unconnected enter table for the slicer.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then create a measure and use it as the filter for the table visualization. like this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
SWITCH(
    SELECTEDVALUE('Table'[Percentage]),
    "0 to 20%",IF([Target Achieved %]&amp;gt;=0.2,1),
    "0 to 40%",IF([Target Achieved %]&amp;gt;=0.4,1),
    "0 to 60%",IF([Target Achieved %]&amp;gt;=0.6,1),
    "0 to 80%",IF([Target Achieved %]&amp;gt;=0.8,1)
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can modify it according to your actual needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 02:00:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-with-percentage-slicer/m-p/3214696#M117344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-02T02:00:36Z</dc:date>
    </item>
  </channel>
</rss>

