<?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: Measure with multiple dates in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892328#M427770</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196658" data-lia-user-login="gazz9ar" class="lia-mention lia-mention-user"&gt;gazz9ar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you just create the Range of Days column on the Fact table instead of the calendar table?&lt;/P&gt;
&lt;P&gt;Make a relationship between Date1 and Calendar table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to simplify you can create it on the query instead of the DAX so it will refresh faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check PBIX file attach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MFelix&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 17:17:39 GMT</pubDate>
    <dc:creator>MFelix</dc:creator>
    <dc:date>2020-01-07T17:17:39Z</dc:date>
    <item>
      <title>Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/890942#M427175</link>
      <description>&lt;P&gt;Hi again guys, im just getting crazy since i cant solve this problem at work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a report so you can see how it should work&lt;/P&gt;&lt;P&gt;First, the fact table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;NOTE: Date 2 &amp;gt;= Date 1&amp;nbsp; ALWAYS!&lt;/P&gt;&lt;P&gt;Calendar table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;enero=January; Also i created a column Range of Days, it evaluates every date and checks if its within a range of days starting from TODAY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user can choose a period, for example January 2020,&amp;nbsp; or January and February 2020.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem here is this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;+ When i create measures that calculate the total amount for that period selected, it shows the right value but the chart is WRONG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+When i create the same measure with USERELATIONSHIP(Dates[Date];Fact Table[Date 2]) it shows a WRONG amount value, because it shows SUM of the amount within Date 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If more info is needed please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gazz9ar&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 20:16:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/890942#M427175</guid>
      <dc:creator>gazz9ar</dc:creator>
      <dc:date>2020-01-06T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/891021#M427204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196658" data-lia-user-login="gazz9ar" class="lia-mention lia-mention-user"&gt;gazz9ar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made a small sample file with your data, believe that this depends on the way you have your dates related.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have an active relationship between Date 2 a and Calendar table (or inactive using the USERELATIONSHIP) the values will be correct however the slicers need to be made base on the Calendar table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the Slicer based column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 22:04:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/891021#M427204</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-01-06T22:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/891995#M427606</link>
      <description>&lt;P&gt;Thank you MFelix, thats what i want to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are correct with an active relationship on date 2, or using USERELATIONSHIP in my measure, but the user wants to select a period and see the amount splited in a range of days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way the slicer doesnt affect the visual, but the visual still shows the amount grouped by Date 2?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 13:40:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/891995#M427606</guid>
      <dc:creator>gazz9ar</dc:creator>
      <dc:date>2020-01-07T13:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892074#M427639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196658" data-lia-user-login="gazz9ar" class="lia-mention lia-mention-user"&gt;gazz9ar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry but I'm not understading the request, you want to select a period based on what column? The filter of the period will filter what information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you want to have one visual that is impacted by the filter and other that is not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 14:41:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892074#M427639</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-01-07T14:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892112#M427655</link>
      <description>&lt;P&gt;It is simple, but i dont know if the visual can show it correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, you select a period based on Date 1 and you will get a list of records with Amounts and Date 2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Afterwards, i want to group by THOSE dates from Date 2 the sum of the amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 14:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892112#M427655</guid>
      <dc:creator>gazz9ar</dc:creator>
      <dc:date>2020-01-07T14:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Measure with multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892328#M427770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196658" data-lia-user-login="gazz9ar" class="lia-mention lia-mention-user"&gt;gazz9ar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you just create the Range of Days column on the Fact table instead of the calendar table?&lt;/P&gt;
&lt;P&gt;Make a relationship between Date1 and Calendar table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to simplify you can create it on the query instead of the DAX so it will refresh faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check PBIX file attach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 17:17:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Measure-with-multiple-dates/m-p/892328#M427770</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-01-07T17:17:39Z</dc:date>
    </item>
  </channel>
</rss>

