<?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: DAX historical dimension using slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963418#M11377</link>
    <description>Thx. I will have a look as soon as I’m behind my laptop</description>
    <pubDate>Sun, 08 Mar 2020 08:54:52 GMT</pubDate>
    <dc:creator>SnoekL</dc:creator>
    <dc:date>2020-03-08T08:54:52Z</dc:date>
    <item>
      <title>DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962345#M11289</link>
      <description>&lt;P&gt;Hi, I'm not sure if the subjects reflects my question perfectly but I want to have a dynamic dimension based on the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A small example below:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;One dimension table with two projects: &lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On dimension table with historical info on the phase status of the project&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;A fact table with the cost of the project&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I created two measures: one for the amount filtered on the date slicer and one to get the last status (phase) of the project:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN&gt;Amount m = calculate(sum('Cost fact'[Amount]),filter(Kalender,Kalender[Datum]&amp;lt;=max('Cost fact'[Date])))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000ff"&gt;&lt;SPAN&gt;Phase (hist) = calculate(max('Project (historical)'[Phase]),filter('Project (historical)','Project (historical)'[Date]=max('Cost fact'[Date])))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;This does work correct as long as I am showing the project in the matrix but that is not wat I want&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;January:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Februari:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The challange I'm facing is when not having the project on the visual. How can I get the amount current phase in total without the project. Currently it would show:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This absolutly makes sense as the measure looks at the max phase which is in this case 2 but it's not what i want to achieve. Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:17:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962345#M11289</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-06T14:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962355#M11291</link>
      <description>&lt;P&gt;Can you instead just use your Phase column in that visual?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:26:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962355#M11291</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-03-06T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962636#M11317</link>
      <description>&lt;P&gt;That would always give the the current (last available) phase but I want it to be dynamic based on the slicer. So the project phase should be the status that is applicable at the date selected in the slicer.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 17:31:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962636#M11317</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-06T17:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962679#M11323</link>
      <description>&lt;P&gt;What do you want to achieve? This is the question...&lt;BR /&gt;&lt;BR /&gt;This sentence:&lt;BR /&gt;&lt;BR /&gt;"The challange I'm facing is when not having the project on the visual. How can I get the amount current phase in total without the project."&lt;BR /&gt;&lt;BR /&gt;makes no or little sense to me.&lt;BR /&gt;&lt;BR /&gt;What should Amount m be when there's no filter on Project code? When there are many projects visible in the current context, there is no current phase since projects can be in different phases at the same time.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 18:13:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962679#M11323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T18:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962762#M11330</link>
      <description>&lt;P&gt;What I want to achieve is the total amount on the projects on the phase at the selected period. So if I'm selecting January it should show Phase 1 400 (both projects are on phase 1). If I select Februari the result should be Phase 1 200 (project 1001 total cost is on phase 1) and phase 2 total of 600 (which relates to project 1002). So it should not show the phase on which the cost is booked on the project but the phase it currently relates to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;January (slicer)&lt;/P&gt;&lt;P&gt;Phase 1 400&lt;/P&gt;&lt;P&gt;Total 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;February (slicer)&lt;/P&gt;&lt;P&gt;Phase 1 200&lt;/P&gt;&lt;P&gt;Phase 2 600&lt;/P&gt;&lt;P&gt;Total 800&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 20:38:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962762#M11330</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-06T20:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962785#M11334</link>
      <description>OK, I have to build a quick model from your description and show you how to do this.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 06 Mar 2020 20:57:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962785#M11334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T20:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962869#M11341</link>
      <description>Here's the file... &lt;A href="https://1drv.ms/u/s!ApyQEauTSLtOgYJRx8jwncx3p4gRnA?e=rL5by4" target="_blank"&gt;https://1drv.ms/u/s!ApyQEauTSLtOgYJRx8jwncx3p4gRnA?e=rL5by4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 06 Mar 2020 23:01:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/962869#M11341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T23:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963418#M11377</link>
      <description>Thx. I will have a look as soon as I’m behind my laptop</description>
      <pubDate>Sun, 08 Mar 2020 08:54:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963418#M11377</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-08T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963440#M11378</link>
      <description>You'd better be in front of it... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Sun, 08 Mar 2020 10:26:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963440#M11378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-08T10:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963459#M11380</link>
      <description>&lt;P&gt;After struggling behind my laptop I switched to the front &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and I looked at your solution which is exacly what I was seeking. Thank you very much. This will help me for sure.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 12:44:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/963459#M11380</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-08T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/964098#M11396</link>
      <description>&lt;P&gt;darlove, I'm trying to include your solution in my model and I have one more challenge.&lt;/P&gt;&lt;P&gt;I have the phase not in the same table as the costs. The fases are in a dimension table and not in the fact table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea to overcome this challenge in your suggested solution?&lt;/P&gt;&lt;P&gt;Thanks in advance SnoekL&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:37:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/964098#M11396</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-09T07:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/964523#M11407</link>
      <description>You can always get the phase for a row in your fact table from a related dimension using the function... RELATED.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Mon, 09 Mar 2020 11:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/964523#M11407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-09T11:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX historical dimension using slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/968718#M11529</link>
      <description>&lt;P&gt;You have helped me very much which is appreciated.&lt;/P&gt;&lt;P&gt;But now I have the next challenge.&lt;/P&gt;&lt;P&gt;What if I would want to show on one slide the values of previous month ,the values of current month (in seperate table) and the movement. I created a slicer for the month and am using a filter on the min date and the max date on two tables but both the tables will show the last value of the phase. How can I have the previous month get to show the value of the phase of that was applicable at the end of previous month?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:59:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-historical-dimension-using-slicer/m-p/968718#M11529</guid>
      <dc:creator>SnoekL</dc:creator>
      <dc:date>2020-03-11T09:59:49Z</dc:date>
    </item>
  </channel>
</rss>

