<?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: Create a relationship between Fact Table Values and Measure Values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4218128#M167151</link>
    <description>&lt;P&gt;1.&amp;nbsp; Read about "Show values on rows"&lt;/P&gt;
&lt;P&gt;2. You would need to use a disconnected reference table if you really want to show the country columns.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 12:33:18 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-10-04T12:33:18Z</dc:date>
    <item>
      <title>Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4126874#M163876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a screenshot of what I would like to accomplish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to create CPL (Cost-per-Lead) for different countries and display them over a certain time period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up the different CPL-Calculations with DAX Measures.&lt;/P&gt;&lt;P&gt;I have the countries in a fact table.&lt;/P&gt;&lt;P&gt;I would now like to create a table "CPL per Country" with the columns "Country" and "CPL".&lt;/P&gt;&lt;P&gt;Then create a relation between Country (fact table) and Country (CPL per Country table).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The challenge I'm facing is that I cannot (or don't know how to) insert the CPL for each Country as a measure into the new "CPL per Country" table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I could explain what I would like to accomplish. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help/input in advance!&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;&lt;U&gt;Edit:&lt;/U&gt;&lt;BR /&gt;Solution that worked for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create a static table with the country names&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create the switch statement for countries:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CPL Switch =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Countries&lt;/SPAN&gt;&lt;SPAN&gt;[Country]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"DE"&lt;/SPAN&gt;&lt;SPAN&gt;,[CPL DE]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"AT",[CPL AT],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;etc.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Select a matrix visual and put&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Countries into row&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Date into column&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Switch statemento into value&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Edit the visual under "values" and select "show values on rows."&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Result:&lt;/U&gt;&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>Fri, 11 Oct 2024 10:57:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4126874#M163876</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-11T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4127513#M163920</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 20:02:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4127513#M163920</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-30T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4128997#M163976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="755889" data-lia-user-login="cn4422" class="lia-mention lia-mention-user"&gt;cn4422&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;lbendlin&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="755889" data-lia-user-login="cn4422" class="lia-mention lia-mention-user"&gt;cn4422&lt;/a&gt;&amp;nbsp;, based on your current description, are you trying to put the Country column and measure into one table and create a relationship with the Country column in the original table?&amp;nbsp;If so, please refer to the following test. If this sample data is structurally different from the one you are using, as&amp;nbsp;lbendlin&amp;nbsp;said, we need you to provide some sample data so that we can help you better. Currently I am using sample data from Power BI Desktop.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create a measure as follows&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum = CALCULATE(SUM(financials[Profit]), ALLEXCEPT(financials, financials[Country]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create a calculated table as follows&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum per country = SUMMARIZE(financials, financials[Country], "sum", [sum])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Create a relationship between two tables&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 06:46:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4128997#M163976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-02T06:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4134058#M164205</link>
      <description>&lt;P&gt;Thanks for your help. I'm currently building another report which is more urgent - but I hope I will get back to this one by the end of the week to see if your suggestion will do the trick! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 19:21:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4134058#M164205</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-09-04T19:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4200212#M166664</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;so, finally I'm back with building this report!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions and the file. I checked everything and I think I didn't explain accurtely enough what my challenge is. In your sample report you have the "profit" with respective countries which are part of the "financials" table. I understand how you get relations then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, however, there are countries, but actually I think it's not relevant. I could also make a new table with a countries column. What I would like to achieve is to then get the measures into this table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure about providing sample data, that's why I'm tryining to explain it as simple as possible in this way. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;</description>
      <pubDate>Mon, 30 Sep 2024 11:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4200212#M166664</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-09-30T11:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4200580#M166670</link>
      <description>&lt;LI-CODE lang="markup"&gt;What I would like to achieve is to then get the measures into this table.&lt;/LI-CODE&gt;
&lt;P&gt;You cannot/should not create calculated columns from measures. They don't have the same context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 12:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4200580#M166670</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-30T12:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207797#M166822</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;P&gt;You cannot/should not create calculated columns from measures. They don't have the same context.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I suppose I'm not familiar enough with PBI yet to grasp this concept...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, since I'm not sure how to provide data without giving away sensitive information in this case, I'm trying to illustrate my challenge with the following short video in PBI, in which I can hopefully explain what I'm trying to achieve&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Video" href="https://www.loom.com/share/37ebe25ab035449a9798b621c9176120?sid=36d2e073-392d-41fd-b6bf-8f287fe18675" target="_blank" rel="noopener"&gt;Video&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance! ^^&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>Tue, 01 Oct 2024 11:38:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207797#M166822</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-01T11:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207866#M166829</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 11:49:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207866#M166829</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-01T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207887#M166830</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;The problem is that I don't know how to provide sample data without giving away sensitive information in this case.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 11:53:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207887#M166830</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-01T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207907#M166831</link>
      <description>&lt;P&gt;You create new sample data without sensitive information.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 11:55:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4207907#M166831</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-01T11:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4215214#M167094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;finally, here is the sample Data.&lt;/P&gt;&lt;P&gt;&lt;A title="Sample Data" href="https://www.dropbox.com/scl/fi/4ms0eb5wvd1yx6r4jw5ig/CPL-Test.pbix?rlkey=6f2s0aynfhzfu1xij4cgggocz&amp;amp;st=72qiz7e7&amp;amp;dl=0" target="_self"&gt;Sample Data&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;(You don't need to have dropbox to download the file)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:26:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4215214#M167094</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-03T15:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4215644#M167104</link>
      <description>&lt;P&gt;see attached&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:50:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4215644#M167104</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-03T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4217459#M167133</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;Thanks for your effort, looks almost perfect. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. How did you manage to arrange the quarters like you did?&lt;/P&gt;&lt;P&gt;When I do it, they are arranged differently...&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;2.&amp;nbsp; What I still don't know is how to link the measures "CPL GA DE" and "CPL FB DE" to an overall "Country DE"... so that it looks like 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;Thanks again for your help, very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 09:10:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4217459#M167133</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-04T09:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4218128#M167151</link>
      <description>&lt;P&gt;1.&amp;nbsp; Read about "Show values on rows"&lt;/P&gt;
&lt;P&gt;2. You would need to use a disconnected reference table if you really want to show the country columns.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 12:33:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4218128#M167151</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-04T12:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4231197#M167353</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;1.&amp;nbsp; Read about "Show values on rows"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks that worked perfectly! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;2. You would need to use a disconnected reference table if you really want to show the country columns.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I did some research and found out about "calculation groups", which is a very interesting topic I'm certainly going to delve into...&lt;/P&gt;&lt;P&gt;however, I couldn't really find anything about "&lt;SPAN&gt;disconnected reference table" to connect the measures from my example to a new entity "country"...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea where I can find out more about this topic (video/posts/etc.)?&lt;/SPAN&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;</description>
      <pubDate>Mon, 07 Oct 2024 06:02:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4231197#M167353</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-07T06:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4232392#M167387</link>
      <description>&lt;P&gt;Just create a static table with the country names.&amp;nbsp; Put that table's columns in the row area. In each measure read the current value and return blank if the country code doesn't match.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 19:17:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4232392#M167387</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-07T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4233871#M167445</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Just create a static table with the country names.&amp;nbsp; Put that table's columns in the row area.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've done that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;In each measure read the current value and return blank if the country code doesn't match..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Unfortunaetly, I don't know how to do this... to establish a link from the measure to the country table...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently it looks like 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>Tue, 08 Oct 2024 15:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4233871#M167445</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-08T15:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4234208#M167464</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 23:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4234208#M167464</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-08T23:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4234803#M167480</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks again for your help - that's great, I can see not how you did it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What if I want to add more countries... The idea is that the measure should only be placed in the row if the country-code is a match, if not, then it should simply be omitted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the best approach here?&lt;/P&gt;&lt;P&gt;My first idea was to maybe try it with a switch-statement?&lt;/P&gt;&lt;P&gt;&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;</description>
      <pubDate>Wed, 09 Oct 2024 07:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4234803#M167480</guid>
      <dc:creator>cn4422</dc:creator>
      <dc:date>2024-10-09T07:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create a relationship between Fact Table Values and Measure Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4235091#M167489</link>
      <description>&lt;P&gt;How many countries? How many platforms? You may want to refactor your source data to include the country attribute in the fact table.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 11:08:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-relationship-between-Fact-Table-Values-and-Measure/m-p/4235091#M167489</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-09T11:08:05Z</dc:date>
    </item>
  </channel>
</rss>

