<?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: Calculate Volume Share ( when filter is coming from a table) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332136#M124889</link>
    <description>&lt;P&gt;This works in test file but not in real. I must be missing something!&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jul 2023 10:17:35 GMT</pubDate>
    <dc:creator>RoshanK</dc:creator>
    <dc:date>2023-07-15T10:17:35Z</dc:date>
    <item>
      <title>Calculate Volume Share ( when filter is coming from a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3331419#M124846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 3 tables - Calendar, Dimension &amp;amp; Fact table.&amp;nbsp;I have 2 measures:-&amp;nbsp;&lt;SPAN&gt;Volume = &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;[Volume]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Volume Share = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; [Volume],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Volume],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Dim),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Sales)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Volume Share measure in a table &amp;amp; line chart in a same page. I want to modify this measure such that when a user selects Product A, I want the line chart to show same value as when nothing is selected. Please refer to image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any guidance will be appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 14:19:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3331419#M124846</guid>
      <dc:creator>RoshanK</dc:creator>
      <dc:date>2023-07-14T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Volume Share ( when filter is coming from a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3331666#M124864</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="495773" data-lia-user-login="RoshanK" class="lia-mention lia-mention-user"&gt;RoshanK&lt;/a&gt;&amp;nbsp;Hi!&lt;BR /&gt;Try with something like:&lt;BR /&gt;Volume Share Modified =&lt;BR /&gt;IF (&lt;BR /&gt;ISFILTERED ( Dim[Product] ),&lt;BR /&gt;DIVIDE ( [Volume], [Volume], 1 ),&lt;BR /&gt;DIVIDE (&lt;BR /&gt;[Volume],&lt;BR /&gt;CALCULATE ( [Volume], ALLSELECTED ( Dim ), ALLSELECTED ( Sales ) )&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 17:57:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3331666#M124864</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-07-14T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Volume Share ( when filter is coming from a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332104#M124886</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't work. Based on your measure, the line chart shows the same 100% value for all or no selection.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2023 08:32:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332104#M124886</guid>
      <dc:creator>RoshanK</dc:creator>
      <dc:date>2023-07-15T08:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Volume Share ( when filter is coming from a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332124#M124888</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This logic that I derived from your measure works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think there is another simple way to do it but unless I can figure it out. This is fine. Refer to picture:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2023 09:23:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332124#M124888</guid>
      <dc:creator>RoshanK</dc:creator>
      <dc:date>2023-07-15T09:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Volume Share ( when filter is coming from a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332136#M124889</link>
      <description>&lt;P&gt;This works in test file but not in real. I must be missing something!&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2023 10:17:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Volume-Share-when-filter-is-coming-from-a-table/m-p/3332136#M124889</guid>
      <dc:creator>RoshanK</dc:creator>
      <dc:date>2023-07-15T10:17:35Z</dc:date>
    </item>
  </channel>
</rss>

