<?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: How to link data from other table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2972449#M99423</link>
    <description>&lt;P&gt;Solved. Thanks so much for your help&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 05:34:31 GMT</pubDate>
    <dc:creator>CarolLoveRabbit</dc:creator>
    <dc:date>2022-12-16T05:34:31Z</dc:date>
    <item>
      <title>How to link data from other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2970557#M99243</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Need your help for this one. I have two tables as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1: monthly units forecast. My painpoint is,&lt;/P&gt;&lt;P&gt;1. How can I get price from Table 2&lt;/P&gt;&lt;P&gt;2. How to calculate revenue once getting price&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Table 2: monthly unit price for products&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Carol Yan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 10:53:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2970557#M99243</guid>
      <dc:creator>CarolLoveRabbit</dc:creator>
      <dc:date>2022-12-15T10:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to link data from other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2970598#M99245</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="487065" data-lia-user-login="CarolLoveRabbit" class="lia-mention lia-mention-user"&gt;CarolLoveRabbit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Load your 2 tables in power bi and "Unpivot" the date Columns in the "&lt;SPAN&gt;monthly unit price for products".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you should have a table like this:&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;2) Then you can Create a new Column mergin the "Product Number" and the "Date" in both tables&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;3) Then you can link the 2 tables with the new column you have just created&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;4) Write the following measure for Revenue=&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; 'Units Forecast','Units Forecast'[Units]*&lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;(Prices[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;&amp;nbsp;&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>Thu, 15 Dec 2022 11:14:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2970598#M99245</guid>
      <dc:creator>Uspace87</dc:creator>
      <dc:date>2022-12-15T11:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to link data from other table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2972449#M99423</link>
      <description>&lt;P&gt;Solved. Thanks so much for your help&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 05:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-link-data-from-other-table/m-p/2972449#M99423</guid>
      <dc:creator>CarolLoveRabbit</dc:creator>
      <dc:date>2022-12-16T05:34:31Z</dc:date>
    </item>
  </channel>
</rss>

