<?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: ISBLANK doesn't work to replace null/blank values in a relationship between tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3450646#M131433</link>
    <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your response. However, the 2 fact tables are huge and combining them would be resource intensive especially when the Account # column is used in slicers -I am using Account Dimension to join the Fact tables to avoid the performance issues otherwise I could have done a left outer join in Power Query to handle this issue.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 23:28:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-09-27T23:28:15Z</dc:date>
    <item>
      <title>ISBLANK doesn't work to replace null/blank values in a relationship between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445163#M131054</link>
      <description>&lt;P&gt;I have a common dimension i.e. Account joined to Fact 1 and Fact 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The requirement is to show Fact1 and Fact2 metrics by &lt;STRONG&gt;Account.Account #&lt;/STRONG&gt; based on Fact1.Account ID = Account.Account ID and Fact2.Account Id =Account.Account ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there are few accounts in Fact1 and Fact2 that doesn't have a matching Account ID in Account table. I would like to replace the Account # with "Unknown" if it is blank but&lt;/P&gt;&lt;P&gt;IF(ISBLANK(Account.Account#),"Unknown",Account.Account#)&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(Account.Account#="","Unknown",Account.Account#) doesn;t seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help ?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 05:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445163#M131054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-25T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: ISBLANK doesn't work to replace null/blank values in a relationship between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445198#M131058</link>
      <description>&lt;P&gt;I think It didn't work because you used "and" operator, try chnging it to "OR ( || )"&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 05:44:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445198#M131058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-25T05:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: ISBLANK doesn't work to replace null/blank values in a relationship between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445199#M131059</link>
      <description>&lt;P&gt;What I meant by the below is none of these conditions work, I tried them separately and together with OR operator but it doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(ISBLANK(Account.Account#),"Unknown",Account.Account#)&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(Account.Account#="","Unknown",Account.Account#)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 05:47:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3445199#M131059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-25T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: ISBLANK doesn't work to replace null/blank values in a relationship between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3449176#M131334</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;I think measure or calculated colunn are not supported in your situation. I suggest you to create a calculated table to achieve your goal.&lt;/P&gt;
&lt;P&gt;My Sample:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Calculated table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
ADDCOLUMNS(UNION(Fact1,Fact2),"New Account ID",IF([Account ID] in VALUES(Account[Account ID]),[Account ID],"Unknown"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Rico Zhou&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Sep 2023 07:43:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3449176#M131334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-27T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: ISBLANK doesn't work to replace null/blank values in a relationship between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3450646#M131433</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your response. However, the 2 fact tables are huge and combining them would be resource intensive especially when the Account # column is used in slicers -I am using Account Dimension to join the Fact tables to avoid the performance issues otherwise I could have done a left outer join in Power Query to handle this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 23:28:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISBLANK-doesn-t-work-to-replace-null-blank-values-in-a/m-p/3450646#M131433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-27T23:28:15Z</dc:date>
    </item>
  </channel>
</rss>

