<?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: Calculation doesn't work with filters (slicers) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421707#M64185</link>
    <description>&lt;P&gt;Thanks John, it works!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 13:25:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-28T13:25:44Z</dc:date>
    <item>
      <title>Calculation doesn't work with filters (slicers)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421634#M64179</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; a table (BronData) with a Revenue column and a Productgroup column. In my report there's an overview of revenues per week per product and a seperate one for the top 10 customers. I'm using 2 slicers: Productgroup and Customers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the report I want to calculate the percentage of revenue per customer for the top 10 visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use&amp;nbsp; a measure for that: FactorTotal =&amp;nbsp;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;BronData[Revenue]&lt;/SPAN&gt;&lt;SPAN&gt;)/&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;BronData[Revenue]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;BronData&lt;/SPAN&gt;&lt;SPAN&gt;)). It works just for the visual totals. But when I want to filter on ProductGroup, the FactorTotal measure is still based on the total revenue, instead of the total revenue for that product group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I doing wrong here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For your information: I studied Power BI one day many years ago and&amp;nbsp; now I am refreshing my memory, just by trying. So if my solution sounds stupid: I'm just trying..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gerard van Daalen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:03:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421634#M64179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation doesn't work with filters (slicers)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421667#M64181</link>
      <description>&lt;P&gt;The ALL is removing all filters from the table, including the filter applied to product group. Try instead ALLEXCEPT(BronData, BronData[product group)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:14:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421667#M64181</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-28T13:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation doesn't work with filters (slicers)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421707#M64185</link>
      <description>&lt;P&gt;Thanks John, it works!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:25:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-doesn-t-work-with-filters-slicers/m-p/2421707#M64185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T13:25:44Z</dc:date>
    </item>
  </channel>
</rss>

