<?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 Percentage Change with Multiple Filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878828#M93099</link>
    <description>&lt;P&gt;Hi, I'm currently building a metrics dashboard. There is 1 column with the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;current&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN&gt;month&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;metric and 1 column for&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;comparison month&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;metric with a dropdown so it can be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to write a measure which &lt;STRONG&gt;&lt;SPAN&gt;dynamically calculates the % change of these two metrics.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created&amp;nbsp; a sample table with 1 dim date table (necessary) and 1 fact table which includes the metric value, name of metric and date&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample data has it at a 1-1 relationship but the real data has 1- many relationship since there are different types of metrics with date table as the dim table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created 2 slicers to represent this months metric and last/comparison metric and corresponding metric using min and max. Each separate measure works but the final measure to calcuate the % difference comes up blank&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final calculation includes filter for both dates&lt;/P&gt;&lt;P&gt;Not sure why the individual components work for this calculation but when I bring it together it comes up as blank. Any help would be greatly appreciated!&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;</description>
    <pubDate>Wed, 02 Nov 2022 04:22:17 GMT</pubDate>
    <dc:creator>Angela30--</dc:creator>
    <dc:date>2022-11-02T04:22:17Z</dc:date>
    <item>
      <title>Dynamic Percentage Change with Multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878828#M93099</link>
      <description>&lt;P&gt;Hi, I'm currently building a metrics dashboard. There is 1 column with the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;current&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN&gt;month&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;metric and 1 column for&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;comparison month&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;metric with a dropdown so it can be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to write a measure which &lt;STRONG&gt;&lt;SPAN&gt;dynamically calculates the % change of these two metrics.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created&amp;nbsp; a sample table with 1 dim date table (necessary) and 1 fact table which includes the metric value, name of metric and date&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample data has it at a 1-1 relationship but the real data has 1- many relationship since there are different types of metrics with date table as the dim table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created 2 slicers to represent this months metric and last/comparison metric and corresponding metric using min and max. Each separate measure works but the final measure to calcuate the % difference comes up blank&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final calculation includes filter for both dates&lt;/P&gt;&lt;P&gt;Not sure why the individual components work for this calculation but when I bring it together it comes up as blank. Any help would be greatly appreciated!&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;</description>
      <pubDate>Wed, 02 Nov 2022 04:22:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878828#M93099</guid>
      <dc:creator>Angela30--</dc:creator>
      <dc:date>2022-11-02T04:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Percentage Change with Multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878861#M93104</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="465458" data-lia-user-login="Angela30--" class="lia-mention lia-mention-user"&gt;Angela30--&lt;/a&gt; , Change Join from Date table to data as 1-M , date table should be on 1 side &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use measures for getting MOM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;BR /&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want two slicer&lt;/P&gt;
&lt;P&gt;Power BI Abstract Thesis: How to use two Date/Period slicers&lt;/P&gt;
&lt;P&gt;&lt;A href="https://youtu.be/WSeZr_-MiTg" target="_blank"&gt;https://youtu.be/WSeZr_-MiTg&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period, &lt;BR /&gt;Custom Period till date: &lt;A href="https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s" target="_blank"&gt;https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Power BI — Year on Year with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=km41KfM_0uA" target="_blank"&gt;https://www.youtube.com/watch?v=km41KfM_0uA&lt;/A&gt;&lt;BR /&gt;Power BI — Qtr on Qtr with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=8-TlVx7P0A0" target="_blank"&gt;https://www.youtube.com/watch?v=8-TlVx7P0A0&lt;/A&gt;&lt;BR /&gt;Power BI — Month on Month with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=6LUBbvcxtKA" target="_blank"&gt;https://www.youtube.com/watch?v=6LUBbvcxtKA&lt;/A&gt;&lt;BR /&gt;Power BI — Week on Week and WTD &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=pnAesWxYgJ8" target="_blank"&gt;https://www.youtube.com/watch?v=pnAesWxYgJ8&lt;/A&gt;&lt;BR /&gt;Day Intelligence - Last day, last non continous day &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 04:56:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878861#M93104</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-02T04:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Percentage Change with Multiple Filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878906#M93110</link>
      <description>&lt;P&gt;Hi, thank you for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For stakeholder use, the date is dynamic so I can't put in time dax within the measure, the comparison month could be the previous month or 3 months before that&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 05:14:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Percentage-Change-with-Multiple-Filters/m-p/2878906#M93110</guid>
      <dc:creator>Angela30--</dc:creator>
      <dc:date>2022-11-02T05:14:07Z</dc:date>
    </item>
  </channel>
</rss>

