<?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 DAX / Measure help on volume for multiple projects during different dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445377#M131071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table 1 with column A = Project name, B = Sub project name, B = Price, column C = Quantity&lt;/LI&gt;&lt;LI&gt;Table 2 with column A = Project name, B = Sub project name, C = start date for projects, column D = number of projects&lt;/LI&gt;&lt;LI&gt;Calender table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I need to calculate the total volume (B*C) for each project (table 1), and then multiply this with the number of projects (project table, column I). A project can be divided into unique sub projects. Each project will start at different times, so there might be 2 project starts in November 2023, 5 at January 2024 etc. So in summary - for each project start, I need to total value of that project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below as an example. I&amp;nbsp;would really appreciate help to create a measure in DAX on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
    <pubDate>Mon, 25 Sep 2023 10:53:34 GMT</pubDate>
    <dc:creator>carlenb</dc:creator>
    <dc:date>2023-09-25T10:53:34Z</dc:date>
    <item>
      <title>DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445377#M131071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table 1 with column A = Project name, B = Sub project name, B = Price, column C = Quantity&lt;/LI&gt;&lt;LI&gt;Table 2 with column A = Project name, B = Sub project name, C = start date for projects, column D = number of projects&lt;/LI&gt;&lt;LI&gt;Calender table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I need to calculate the total volume (B*C) for each project (table 1), and then multiply this with the number of projects (project table, column I). A project can be divided into unique sub projects. Each project will start at different times, so there might be 2 project starts in November 2023, 5 at January 2024 etc. So in summary - for each project start, I need to total value of that project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below as an example. I&amp;nbsp;would really appreciate help to create a measure in DAX on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 25 Sep 2023 10:53:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445377#M131071</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-25T10:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445388#M131073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;table 2 is "fact" table, the table with most details?&lt;/P&gt;&lt;P&gt;Table 1 is just list of projects, price &amp;amp; quantity?&lt;/P&gt;&lt;P&gt;If yes, why not one table (not 2 table 1 and table 2)?&lt;/P&gt;&lt;P&gt;Price and quantity will be fixed, not variable during time?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 07:43:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445388#M131073</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-25T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445480#M131077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;, thanks for asking. Table 1 is the largest table and it contains many more columns. Table 2 is quite small. Price and quantity may change over time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 08:33:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445480#M131077</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-25T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445522#M131078</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;so in which table there are "lookup" value and in which there are "fact / data"?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 08:50:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445522#M131078</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-25T08:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445668#M131087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your questions got me to reflect a bit &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I guess to simplify and create a better schema I can add project start and number of projects to my project table instead of having four tables. Still a learner in this! So the question is the same but my updated structure looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any support on how I can now calculate what I'm after?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 10:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445668#M131087</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-25T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445948#M131099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;below is possible solution for measure "&lt;SPAN&gt;Measure&lt;/SPAN&gt;&lt;SPAN&gt; test"&lt;/SPAN&gt;. Amount of 160 for B in 2023&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Kudos appreciated / accept solution!&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt;&lt;SPAN&gt; test = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(Table1, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Table1[Price]*Table1[Quantity]*&lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;('Project Table'[Number of projects])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Relatinships (caution: in example there are values A-C presented in both tables: Table1 and Project Table; &lt;FONT color="#00FF00"&gt;&lt;EM&gt;in your model this could be different and affect results&lt;/EM&gt;&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 13:04:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3445948#M131099</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-25T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3446131#M131116</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting an error that the column 'Project table'[Number of projects] doesn't exist or it doesn't have a relation. I'm trying to set up the correct relationships between the tables, can you elaborate on which relationships you set up in your data model?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any alternative solutions as a work-around, that would also be extremely appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 14:42:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3446131#M131116</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-25T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3446412#M131138</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;date is connected with start date in project table&lt;/P&gt;&lt;P&gt;Table 1 and project connected via project&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 17:18:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3446412#M131138</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-25T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447253#M131202</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still struggling. I guess one reason may be that I can't create a 1:1 relationship between Table 1 and project, it forces me to create a many to many relationship.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other DAX I could use as a work-around to RELATED? Any help would be very appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 07:21:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447253#M131202</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-26T07:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447452#M131219</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;this issue was reason for my question, what is fact what is dimension tablee (t&lt;/SPAN&gt;&lt;SPAN&gt;able 1 and project)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Put all projects in one tabl table which should be dimension, other should be fact and change type of relationship. This is best practice. Many to many is advance topic, not suitable currently.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 09:19:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447452#M131219</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-26T09:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447522#M131223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;thanks for the patience with me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did was to create a test dimension table for Project, containing only 1 project. I got this relationship to work, RELATED works and the calculations works as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that in reality there will not be unique values in the project table. Maybe I was bad at explaining this in the beginning, sorry for this in that case. In reality the project table looks liks this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for this reason I can't avoid having duplicates in the project table and 1:1 relationship will not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this make the case more clear and how would you solve it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447522#M131223</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-26T10:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447587#M131228</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;now when we have Project table, what other tables / data you have in your model and what you want to be calculated?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today we are at start&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:34:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447587#M131228</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-26T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447621#M131231</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;,&amp;nbsp;let me try to clarify, again thanks for your patience &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; What's needed is to calculate the total sales volume for each project, and then again multiply this against the number of projects. Projects will start at different starting dates. So the end result will be a graph where you can filter on different projects or dates/years and see the total value for that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table 1: Column A = Project name, B = Sub project name, C = Article number, D = Price, column E= Quantity&lt;/LI&gt;&lt;LI&gt;Table 2 with column A = Project number, B = Project name, C = Sub project name, D = number of projects E= start date for projects&lt;/LI&gt;&lt;LI&gt;Calender table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Table 1 looks like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So table 1 will be unique in project name and sub project name. I will add more tables like table 1 over time, one table for each individual project. In the picture I have the project "CTV PPC" as an example. But I will create more tables for the projects "CTV KGH", "ABC YUL", "ABC TUI" etc. as seen in table 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2 looks like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 12:56:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447621#M131231</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-26T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447805#M131248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;I would ask you to think again about your model / example you provide.&lt;/P&gt;&lt;P&gt;Reasoning:&lt;/P&gt;&lt;P&gt;Example should reflect your REAL actual data, possible combination - for sure you can hide sensitive data, and details but&amp;nbsp;actual data should be provided to model / provide solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your example, in table 2 there are many projects comparing with table 1, this cause relationship creation and possible solution.&lt;/P&gt;&lt;P&gt;I really tried to understand your data and provide solution, but you did not provide sound example with output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, put your actual data and process in tables, describe and replace it with some names to hide sensitive data... Maybe this is hard / new to you but will benefit you in long run.&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 13:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447805#M131248</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-26T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447850#M131249</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;,&amp;nbsp;thanks for getting back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry but I don't understand what you need. Let me explain:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The example I have provided is exactly the tables I have, I have only swapped the real data to dummy data. The only difference from real life is that I have excluded columns not relevant at all for the calculation such as currency, unit columns etc.&lt;/LI&gt;&lt;LI&gt;The RELATED solution you have provided above do in fact work when there are unique rows (project names) in table 2, I tried this and I get the expected output value for that project. But in my data this is not the case because for each row in Table 2 there will be a project name and a project start. &lt;STRONG&gt;So each project name will occur multiple times and not a single time. This must also match on the sub-category project.&amp;nbsp;&lt;/STRONG&gt;Hence my understanding is that I can only create a many to many relationship, which is causing RELATED not to work.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Based on this and the data I actually have in front of me: what should I do?&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 26 Sep 2023 13:40:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447850#M131249</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-26T13:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447899#M131252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look closely at least two issues with current example. I would say, granularity of data in your example should be adjusted either change table 1 or table 2.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 13:51:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447899#M131252</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-26T13:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447967#M131256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;you are going to be my future hero after all this help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is fine to retrieve on an overall level and include all articles. So for clarity the output for CTV PPC would be:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Value for CTV PPC will be Price * Quantity = 200 (Retrieved from Table 1)&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Total value for CTV PPC in 2024-01-01 will be 200 * 2 = 400 (Table 2)&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Total value for CTV PPC in 2024-02-04 will be 200 * 2 = 400 (Table 2)&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If it makes it easier to see the data I also created a duplicate of the model, you can see it here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1xVMSn-auYJJVGX2s26YjHeDK51hCNYT6/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/1xVMSn-auYJJVGX2s26YjHeDK51hCNYT6/view?usp=drive_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case I also added another project so that you can see how it works for more data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still learning, I understand sharing the model earlier would've been good &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 14:19:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3447967#M131256</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-26T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3448461#M131284</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp; I will check it and let you know&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 18:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3448461#M131284</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-26T18:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3448946#M131318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;very appreciated, thanks!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:38:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3448946#M131318</guid>
      <dc:creator>carlenb</dc:creator>
      <dc:date>2023-09-27T05:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: DAX / Measure help on volume for multiple projects during different dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3449009#M131321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617109" data-lia-user-login="carlenb" class="lia-mention lia-mention-user"&gt;carlenb&lt;/a&gt;&amp;nbsp;possible solutions as following (order is important). Please note, no relationship is created for this solution&lt;/P&gt;&lt;P&gt;create 3 different calculate columns (1 per tables: ProjectTable, Sales CTV KGH, Sales CTV PPC)&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;CTV KGH Value =&lt;/SPAN&gt; &lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;[Price]&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]--sum is 200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. CTV PPC Value =&lt;/SPAN&gt; &lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;[Price]&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity] --sum is 104&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CTV PPC KGH Rel =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--calculating &amp;nbsp;related total from table CTV PPC, column Value (Price * Quantity)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;[Project]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ProjectTable&lt;/SPAN&gt;&lt;SPAN&gt;[Project]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;[Sub-project name]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ProjectTable&lt;/SPAN&gt;&lt;SPAN&gt;[Sub-project]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV PPC'&lt;/SPAN&gt;&lt;SPAN&gt;[CTV PPC Value]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--calculating &amp;nbsp;related total from table CTV KGH, column Value (Price * Quantity)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;[Project]&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;ProjectTable&lt;/SPAN&gt;&lt;SPAN&gt;[Project]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;[Sub-project name]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ProjectTable&lt;/SPAN&gt;&lt;SPAN&gt;[Sub-project]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sales CTV KGH'&lt;/SPAN&gt;&lt;SPAN&gt;[CTV KGH Value]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Output&amp;nbsp;&lt;SPAN&gt;CTV PPC Value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Final output in ProjectTable&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Kudos appreciated / accept solution!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 06:10:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-help-on-volume-for-multiple-projects-during/m-p/3449009#M131321</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-09-27T06:10:24Z</dc:date>
    </item>
  </channel>
</rss>

