<?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: LOD and measure totals in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623591#M140104</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508992" data-lia-user-login="HelpImStuck" class="lia-mention lia-mention-user"&gt;HelpImStuck&lt;/a&gt;&amp;nbsp;did you try to use dimension table not fact table?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 17:35:37 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2024-01-08T17:35:37Z</dc:date>
    <item>
      <title>LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3616637#M139833</link>
      <description>&lt;P&gt;I am stuck trying to maintain the same measure total when removing a column from a table visual. Here is my current measure, which gives the correct result and the correct total:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BD SUM =&lt;BR /&gt;VAR A =&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;Sheet1,&lt;BR /&gt;Sheet1[brand],&lt;BR /&gt;"Avg",&lt;BR /&gt;(&lt;BR /&gt;AVERAGE ( Sheet1[income] ) * Income[Income Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[education] ) * Education[Education Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[age] ) * Age[Age Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[ethnicity] ) * Ethnicity[Ethnicity Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[house] ) * 'Household Size'[Household Size Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[marital] ) * 'Marital Status'[Marital Status Value]&lt;BR /&gt;)&lt;BR /&gt;+ (&lt;BR /&gt;AVERAGE ( Sheet1[children] ) * 'Presence of Children'[Presence of Children Value]&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX (&lt;BR /&gt;A,&lt;BR /&gt;[Avg]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;When adding this measure to a table visual, it generates this result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;brand&lt;/TD&gt;&lt;TD&gt;BD SUM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2.45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1.63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;2.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;2.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;1.88&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The total of all 5 values is 10.86 which is correct, however, when I remove the 'brand' column from the table visual, it gives the wrong total. Any ideas how I can produce this result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;BD SUM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9007900349&lt;/TD&gt;&lt;TD&gt;10.86&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I have tried every iteration of ALL, ALLEXCEPT, and VALUES I can think of but nothing seems to work. Appreciate the help!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 00:38:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3616637#M139833</guid>
      <dc:creator>HelpImStuck</dc:creator>
      <dc:date>2024-01-05T00:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3619550#M139931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508992" data-lia-user-login="HelpImStuck" class="lia-mention lia-mention-user"&gt;HelpImStuck&lt;/a&gt;&amp;nbsp;your definition for measure include brand, this is reason you "have" to have brand .Rewrite measure, try directly without variable part.&lt;/P&gt;
&lt;PRE&gt;Sheet1[brand],&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 18:56:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3619550#M139931</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-01-06T18:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623018#M140088</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;, the measure needs to calculate the sum of the averages by brand, which in this case is 10.86, but the visual needs to display that by ID. In my example there are 5 brands under ID 9007900349, and the the sum of the averages on those 5 brands is 10.86, so in a bar chart with ID as the y-axis, ID 9007900349 needs to have the value of 10.86. For some reason this does not calculate correctly unless I also include brand&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 13:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623018#M140088</guid>
      <dc:creator>HelpImStuck</dc:creator>
      <dc:date>2024-01-08T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623591#M140104</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508992" data-lia-user-login="HelpImStuck" class="lia-mention lia-mention-user"&gt;HelpImStuck&lt;/a&gt;&amp;nbsp;did you try to use dimension table not fact table?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 17:35:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623591#M140104</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-01-08T17:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623644#M140107</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;this is all one table, provided in a single CSV file&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 18:20:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623644#M140107</guid>
      <dc:creator>HelpImStuck</dc:creator>
      <dc:date>2024-01-08T18:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: LOD and measure totals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623650#M140108</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="508992" data-lia-user-login="HelpImStuck" class="lia-mention lia-mention-user"&gt;HelpImStuck&lt;/a&gt;&amp;nbsp;sure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be transformed into dimension using power query&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 18:28:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/LOD-and-measure-totals/m-p/3623650#M140108</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-01-08T18:28:11Z</dc:date>
    </item>
  </channel>
</rss>

