<?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: Looking for a DAX Function to bring data from another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246993#M119660</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198483" data-lia-user-login="joreghi" class="lia-mention lia-mention-user"&gt;joreghi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you please provide an example? A simple sample data along with the expected result and the logic behind it.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 08:47:28 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-05-22T08:47:28Z</dc:date>
    <item>
      <title>Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246807#M119637</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear DAX Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Power BI DAX and I would need your help!&lt;/P&gt;&lt;P&gt;I need to find a way to bring data stored in table "DIM 2" to the table "FACT 1".&lt;BR /&gt;Both tables are not directly linked. Our data model looks something 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;I have tried the RELATED function, but this only works for DIM 1, which is directly linked to FACT 1.&lt;/P&gt;&lt;P&gt;Is there any function that would solve the above scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any guidance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 07:54:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246807#M119637</guid>
      <dc:creator>joreghi</dc:creator>
      <dc:date>2023-05-22T07:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246855#M119645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198483" data-lia-user-login="joreghi" class="lia-mention lia-mention-user"&gt;joreghi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Based on what?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:11:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246855#M119645</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-22T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246923#M119650</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt; , Sorry, not sure I underestand the question.&lt;/P&gt;&lt;P&gt;I am trying to create a calculated column in table FACT1, containing a column in DIM2. The calculated column has to be stored in FACT1. The question is whether there is a "smart" function in Power BI that allows this, such as RELATED (which is not working for this scenario).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:28:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246923#M119650</guid>
      <dc:creator>joreghi</dc:creator>
      <dc:date>2023-05-22T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246993#M119660</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198483" data-lia-user-login="joreghi" class="lia-mention lia-mention-user"&gt;joreghi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you please provide an example? A simple sample data along with the expected result and the logic behind it.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:47:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3246993#M119660</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-22T08:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247024#M119661</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have created a quick power bi example, so the expected result is to have the Col1 from DIM2 as a calculated column in FACT1.&lt;BR /&gt;The file can be accessed here : &lt;A href="https://drive.google.com/file/d/1eHck0Z4W9tpIeak4-AmHQh8qUuNExp7W/view?usp=share_link" target="_blank"&gt;https://drive.google.com/file/d/1eHck0Z4W9tpIeak4-AmHQh8qUuNExp7W/view?usp=share_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In advance, thanks a lot for your time!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:00:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247024#M119661</guid>
      <dc:creator>joreghi</dc:creator>
      <dc:date>2023-05-22T09:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247025#M119662</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have created a quick power bi example, so the expected result is to have the Col1 from DIM2 as a calculated column in FACT1.&lt;BR /&gt;The file can be accessed here : &lt;A href="https://drive.google.com/file/d/1eHck0Z4W9tpIeak4-AmHQh8qUuNExp7W/view?usp=share_link" target="_blank"&gt;https://drive.google.com/file/d/1eHck0Z4W9tpIeak4-AmHQh8qUuNExp7W/view?usp=share_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In advance, thanks a lot for your time!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247025#M119662</guid>
      <dc:creator>joreghi</dc:creator>
      <dc:date>2023-05-22T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a DAX Function to bring data from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247139#M119670</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198483" data-lia-user-login="joreghi" class="lia-mention lia-mention-user"&gt;joreghi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Calc Column DIM2 = 
CALCULATE ( 
    SELECTEDVALUE ( DIM2[Col1] ),
    CROSSFILTER ( FACT1[SK_COMMONDIM], COMMON_DIM[SK_COMMONDIM], BOTH ),
    CROSSFILTER ( FACT2[SK_DIM2], DIM2[SK_DIM2], BOTH )
)&lt;/LI-CODE&gt;
&lt;P&gt;However, this is not conclusive as one row is not sufficient to verify the data structure of a table.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-a-DAX-Function-to-bring-data-from-another-table/m-p/3247139#M119670</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-22T09:41:08Z</dc:date>
    </item>
  </channel>
</rss>

