<?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 Filter and sclicer causing visualization discrepency in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087336#M15569</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am a beginner in Power BI and I would like to know the feasibility/solution for my Queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a given data table "Prototype Modeling_freight" I have a measure as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;volume = SUMX('Prototype Modeling_Freight', 'Prototype Modeling_Freight'[Sold Cases])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this converted to percentage for each type of equipment as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Volume distribution = DIVIDE([volume],CALCULATE([volume],ALL('Prototype Modeling_Freight'))),0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And visualized as clustered column chart&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now there are specifically two things I want this chart to do:&lt;/P&gt;&lt;P&gt;when I filter out through a date sclicer my chart must compare the data only within those sclicers, (&lt;STRONG&gt;note&lt;/STRONG&gt; these sclicers can be other than dates)&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If you consider the Y axis in above picture, I want them to present 100%, or 'what was 25N's contribution in June month?'.&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;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 08:20:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-13T08:20:35Z</dc:date>
    <item>
      <title>Filter and sclicer causing visualization discrepency</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087336#M15569</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am a beginner in Power BI and I would like to know the feasibility/solution for my Queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a given data table "Prototype Modeling_freight" I have a measure as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;volume = SUMX('Prototype Modeling_Freight', 'Prototype Modeling_Freight'[Sold Cases])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this converted to percentage for each type of equipment as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Volume distribution = DIVIDE([volume],CALCULATE([volume],ALL('Prototype Modeling_Freight'))),0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And visualized as clustered column chart&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now there are specifically two things I want this chart to do:&lt;/P&gt;&lt;P&gt;when I filter out through a date sclicer my chart must compare the data only within those sclicers, (&lt;STRONG&gt;note&lt;/STRONG&gt; these sclicers can be other than dates)&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If you consider the Y axis in above picture, I want them to present 100%, or 'what was 25N's contribution in June month?'.&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;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087336#M15569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-13T08:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter and sclicer causing visualization discrepency</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087358#M15572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this instead&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Volume distribution = DIVIDE([volume],CALCULATE([volume],ALLSELECTED())),0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accepting it as the solution&lt;/I&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" target="_blank"&gt; LinkedIn &lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 07:49:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087358#M15572</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2020-05-13T07:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter and sclicer causing visualization discrepency</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087386#M15574</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="81408" data-lia-user-login="Mariusz" class="lia-mention lia-mention-user"&gt;Mariusz&lt;/a&gt;, it worked. I would like to understand how is this happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 07:59:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087386#M15574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-13T07:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter and sclicer causing visualization discrepency</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087401#M15575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, ALL() removes all filters from the filter context where ALLSELECTED() only the current one ie current visuals filters preserving all other filters coming from outside.&lt;/P&gt;
&lt;P&gt;For more info please refer.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/" target="_blank"&gt;https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accepting it as the solution&lt;/I&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" target="_blank"&gt; LinkedIn &lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:04:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087401#M15575</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2020-05-13T08:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filter and sclicer causing visualization discrepency</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087413#M15576</link>
      <description>&lt;P&gt;Thank You,&lt;BR /&gt;But the article you have suggested is too complex to understand and time consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need simpler definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 11:40:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-and-sclicer-causing-visualization-discrepency/m-p/1087413#M15576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-13T11:40:09Z</dc:date>
    </item>
  </channel>
</rss>

