<?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 if condition based on three columns in different tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885503#M40593</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below.&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;STRONG&gt;&lt;EM&gt;Status Measure =&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;IF (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ISFILTERED ( IDs[id] ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAX ( Table1[hasE?] ) = 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;|| MAX ( Table2[hasK?] ) = 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;|| MAX ( Table3[id] ) = 1,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"True",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"False"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0&lt;/A&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;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 13:02:29 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2021-06-07T13:02:29Z</dc:date>
    <item>
      <title>create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885280#M40590</link>
      <description>&lt;P&gt;I have this 3 tables&amp;nbsp;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;hasE?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt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&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the tables has id to make relations between them&lt;/P&gt;&lt;P&gt;I want to create&amp;nbsp;if condation in dax to compare between this three columns (hasE?,hasK?,hasU?) if one of them has 1 return true else false&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is how i imagine it:&lt;/P&gt;&lt;PRE&gt;Status = IF('table1'[hasE?]=1 || 'table2'[hasK?]=1 || 'table3'[hasU?]=1 ,"true​","false")&lt;/PRE&gt;&lt;DIV class="view-original-post-link"&gt;any help?&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Jun 2021 11:32:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885280#M40590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885394#M40592</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You can not do it like this. &lt;/P&gt;
&lt;P&gt;Either you have to create a common is a table and join all with those and create a column there.&lt;/P&gt;
&lt;P&gt;How to do that - &lt;A href="https://www.seerinteractive.com/blog/join-many-many-power-bi/" target="_blank"&gt;https://www.seerinteractive.com/blog/join-many-many-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There 4 ways refer data of me table into another tbale&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 12:19:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885394#M40592</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-06-07T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885503#M40593</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below.&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;STRONG&gt;&lt;EM&gt;Status Measure =&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;IF (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ISFILTERED ( IDs[id] ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAX ( Table1[hasE?] ) = 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;|| MAX ( Table2[hasK?] ) = 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;|| MAX ( Table3[id] ) = 1,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"True",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"False"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0&lt;/A&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;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 13:02:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885503#M40593</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-06-07T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885686#M40601</link>
      <description>&lt;P&gt;thank you but it there any way to use the measure with slicer visual?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:06:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885686#M40601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T14:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885739#M40603</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure how your desired output looks like. Please check the link down below, otherwise, please share how your expected output looks like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/ab5hnvsba4315nh/fatimah.pbix?dl=0&lt;/A&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;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885739#M40603</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-06-07T14:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: create if condition based on three columns in different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885907#M40606</link>
      <description>&lt;P&gt;yes as I need thank you so much&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 15:13:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-if-condition-based-on-three-columns-in-different-tables/m-p/1885907#M40606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-07T15:13:21Z</dc:date>
    </item>
  </channel>
</rss>

