<?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 formula in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2787097#M38820</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having 2 tables named as table 1 and table 2 but not related to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i am looking for DAX formula for "Table 1" column B as shown below, if any of the part number from column A in excel (which is table1&amp;nbsp; in power BI), match with column I in excel (which is table 2 in power bi) and if column J is True for any part number, then expected result should be true please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some instance where column J will have both true and false for same part numbers and in that case True will be over ridden please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpatel_0-1663854449277.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/788960i4B547E8986D3B089/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpatel_0-1663854449277.png" alt="jimpatel_0-1663854449277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 13:48:03 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2022-09-22T13:48:03Z</dc:date>
    <item>
      <title>DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2787097#M38820</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having 2 tables named as table 1 and table 2 but not related to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i am looking for DAX formula for "Table 1" column B as shown below, if any of the part number from column A in excel (which is table1&amp;nbsp; in power BI), match with column I in excel (which is table 2 in power bi) and if column J is True for any part number, then expected result should be true please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some instance where column J will have both true and false for same part numbers and in that case True will be over ridden please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpatel_0-1663854449277.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/788960i4B547E8986D3B089/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpatel_0-1663854449277.png" alt="jimpatel_0-1663854449277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 13:48:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2787097#M38820</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2022-09-22T13:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2788892#M38839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/413988"&gt;@jimpatel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this code to create a calculated column in Table 1. When you use this code, please make sure the data type of [True/False] is text.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;True/False =
VAR _List =
    CALCULATETABLE (
        VALUES ( 'Table 2'[True/False] ),
        FILTER (
            'Table 2',
            'Table 2'[Part number] = EARLIER ( 'Table 1'[Part number] )
        )
    )
RETURN
    IF ( "TRUE" IN _List, "TRUE", "FALSE" )&lt;/LI-CODE&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RicoZhou_0-1663918324146.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/789453i43C2D31F3D01E20D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RicoZhou_0-1663918324146.png" alt="RicoZhou_0-1663918324146.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 07:32:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2788892#M38839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-23T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2823244#M39106</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below DAX code what should i do please to get information from same table and from same column please. That is i have attached an example "Modified status" which will look for material in the same column (it will be more than 2 in some cases) and if the match found then if "Status" is "Yes" for any of the matched part then "Modified status" will be yes for that part number please.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea pleasE? got stuck with this for ages : (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Column1 =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ISEMPTY (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Table1',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Table1'[Material]= 'Table2'[Material 2]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; 'Table1'[status] = "Yes"&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;"NO",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"YES"&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 class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpatel_0-1665068708952.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/799572iC4E9F357A4EF98EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpatel_0-1665068708952.png" alt="jimpatel_0-1665068708952.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:05:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DAX-formula/m-p/2823244#M39106</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2022-10-06T15:05:17Z</dc:date>
    </item>
  </channel>
</rss>

