<?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: IF is blank show me value from column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-is-blank-show-me-value-from-column/m-p/2905033#M94750</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397770" data-lia-user-login="piotrgrendus87" class="lia-mention lia-mention-user"&gt;piotrgrendus87&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;P&gt;No filter selection there no name on the card&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
IF(
    HASONEVALUE('Sub Dealer Name'[Dealer ID and Name Filter])&amp;amp;&amp;amp;HASONEVALUE('Sub Dealer Name'[SubDealer_ID_NM])
    ,MAX('Sub Dealer Name'[SubDealerName]),BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;In the case of " Blank " it shows me the value from a specific column&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure2 =
IF(
    HASONEVALUE('Sub Dealer Name'[Dealer ID and Name Filter])&amp;amp;&amp;amp;HASONEVALUE('Sub Dealer Name'[SubDealer_ID_NM])
    ,MAX('Sub Dealer Name'[SubDealerName]),
    MAXX(FILTER(ALL('Sub Dealer Name'),'Sub Dealer Name'[Dealer ID and Name Filter]=5460&amp;amp;&amp;amp;'Sub Dealer Name'[SubDealer_ID_NM]="5460 - Microsoft"),[SubDealerName]))&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 01:50:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-15T01:50:19Z</dc:date>
    <item>
      <title>IF is blank show me value from column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-is-blank-show-me-value-from-column/m-p/2904046#M94681</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hello.&lt;BR /&gt;I prepared a below measure that allow me to hide text. If there is no filter selection there no name on the card, but when i select something inside a filter i will see a name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;SubDealerNM_HIDE =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;'Accountflex Data'&lt;/SPAN&gt;&lt;SPAN&gt;[Dealer ID and Name Filter]&lt;/SPAN&gt;&lt;SPAN&gt;) ||&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Accountflex Data'&lt;/SPAN&gt;&lt;SPAN&gt;[SubDealer_ID_NM]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sub Dealer Name'&lt;/SPAN&gt;&lt;SPAN&gt;[SubDealerName]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;in most cases i have this type of name structure ( this is a example&amp;nbsp;)&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;5640 - Google ( main )&lt;BR /&gt;5410 - Google ( submain )&lt;BR /&gt;4781 - Google ( submain )&lt;BR /&gt;&lt;BR /&gt;and this give me this result : Google&lt;BR /&gt;&lt;BR /&gt;but if I have something like this:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;5640 - Google ( main )&lt;BR /&gt;5410 - Google ( submain )&lt;BR /&gt;5460 - Microsoft ( submain )&lt;BR /&gt;4781 - Google ( submain )&lt;BR /&gt;&lt;BR /&gt;and this give me result : Blank&lt;BR /&gt;&lt;BR /&gt;How to modify my measure so that in the case of " Blank " it shows me the value from a specific column.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards Piotr.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:43:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-is-blank-show-me-value-from-column/m-p/2904046#M94681</guid>
      <dc:creator>piotrgrendus87</dc:creator>
      <dc:date>2022-11-14T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: IF is blank show me value from column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-is-blank-show-me-value-from-column/m-p/2905033#M94750</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397770" data-lia-user-login="piotrgrendus87" class="lia-mention lia-mention-user"&gt;piotrgrendus87&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;P&gt;No filter selection there no name on the card&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
IF(
    HASONEVALUE('Sub Dealer Name'[Dealer ID and Name Filter])&amp;amp;&amp;amp;HASONEVALUE('Sub Dealer Name'[SubDealer_ID_NM])
    ,MAX('Sub Dealer Name'[SubDealerName]),BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;In the case of " Blank " it shows me the value from a specific column&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure2 =
IF(
    HASONEVALUE('Sub Dealer Name'[Dealer ID and Name Filter])&amp;amp;&amp;amp;HASONEVALUE('Sub Dealer Name'[SubDealer_ID_NM])
    ,MAX('Sub Dealer Name'[SubDealerName]),
    MAXX(FILTER(ALL('Sub Dealer Name'),'Sub Dealer Name'[Dealer ID and Name Filter]=5460&amp;amp;&amp;amp;'Sub Dealer Name'[SubDealer_ID_NM]="5460 - Microsoft"),[SubDealerName]))&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 01:50:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-is-blank-show-me-value-from-column/m-p/2905033#M94750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-15T01:50:19Z</dc:date>
    </item>
  </channel>
</rss>

