<?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 sumx with date range lookup in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sumx-with-date-range-lookup/m-p/1896834#M40884</link>
    <description>&lt;P&gt;Hi I have an issue with my&amp;nbsp; report. I cannot share my actual data for privacy so I have created a mockup model to explain my issue&lt;BR /&gt;I have spent a lot of time on it but it is behond my skills and i cannot figure out a solution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have two table&lt;BR /&gt;&lt;BR /&gt;one fact Table&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;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one Dimension Table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my model connections&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a many to many relationship between the two tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what I want is to define a measure to be displayed in a matrice&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the matrice and i want to add a new value column wich would be&lt;BR /&gt;The sum of orders * the Time expense&lt;BR /&gt;But... the time expense varies&lt;/P&gt;&lt;P&gt;I have a from date and a to date column in my dimension table&lt;/P&gt;&lt;P&gt;I need the correct value to match the date of order.&lt;BR /&gt;&lt;BR /&gt;I have seen plenty of exemples where a calculated colum is created.&lt;BR /&gt;However my data set is much more complex than my mockup and I would need lots of calculated colums.&lt;BR /&gt;&lt;BR /&gt;I need a measure definition.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appraciated..&lt;BR /&gt;I am a bit worried about this Many to many relationship, maybee my model is wrong all togeather&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jun 2021 05:55:09 GMT</pubDate>
    <dc:creator>django</dc:creator>
    <dc:date>2021-06-12T05:55:09Z</dc:date>
    <item>
      <title>sumx with date range lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sumx-with-date-range-lookup/m-p/1896834#M40884</link>
      <description>&lt;P&gt;Hi I have an issue with my&amp;nbsp; report. I cannot share my actual data for privacy so I have created a mockup model to explain my issue&lt;BR /&gt;I have spent a lot of time on it but it is behond my skills and i cannot figure out a solution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have two table&lt;BR /&gt;&lt;BR /&gt;one fact Table&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;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one Dimension Table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my model connections&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a many to many relationship between the two tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what I want is to define a measure to be displayed in a matrice&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the matrice and i want to add a new value column wich would be&lt;BR /&gt;The sum of orders * the Time expense&lt;BR /&gt;But... the time expense varies&lt;/P&gt;&lt;P&gt;I have a from date and a to date column in my dimension table&lt;/P&gt;&lt;P&gt;I need the correct value to match the date of order.&lt;BR /&gt;&lt;BR /&gt;I have seen plenty of exemples where a calculated colum is created.&lt;BR /&gt;However my data set is much more complex than my mockup and I would need lots of calculated colums.&lt;BR /&gt;&lt;BR /&gt;I need a measure definition.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appraciated..&lt;BR /&gt;I am a bit worried about this Many to many relationship, maybee my model is wrong all togeather&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 05:55:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sumx-with-date-range-lookup/m-p/1896834#M40884</guid>
      <dc:creator>django</dc:creator>
      <dc:date>2021-06-12T05:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: sumx with date range lookup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sumx-with-date-range-lookup/m-p/1896849#M40885</link>
      <description>&lt;P&gt;I forgot to link the pbx file&lt;BR /&gt;&lt;BR /&gt;Here it is&lt;/P&gt;&lt;P&gt;&lt;A href="https://sobwa-my.sharepoint.com/:u:/g/personal/nguyader_broome_wa_gov_au/EUCyZ9ZtMzlNqS8MHckWbKkBpBIECCuJpRJVpAEpWvfQQw?e=FUvlEz" target="_self"&gt;Link to mockup pbx file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 05:34:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sumx-with-date-range-lookup/m-p/1896849#M40885</guid>
      <dc:creator>django</dc:creator>
      <dc:date>2021-06-12T05:34:39Z</dc:date>
    </item>
  </channel>
</rss>

