<?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: Show Nulls when attribute is selected and show values when selected in combination with other attrib in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2234914#M53363</link>
    <description>&lt;P&gt;Thank you, but this not what i am expecting, measure should not be blank for prod_category/company.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if prod-category/company slected individually then it show blank, in hierarchial struture it should populate the values.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 07:17:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-12-13T07:17:21Z</dc:date>
    <item>
      <title>Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227097#M53053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to show null when attribute is placed as single in table and to show values when placed in combination of other attributes in table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example: we have 3 columns in table stating product category, company and brand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so when product category or company is placed in matrix table it should be shown as null, and when placed in combination with brand(drilldown way) it should display values/data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;trying to create DAX using isfiltred function but not helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 07:34:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227097#M53053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T07:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227157#M53059</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not sure if I understood your issues, but from what I understood you want to show nulls on "1st level" of a matrix and when you drill down you would display values?&lt;BR /&gt;&lt;BR /&gt;Like you suggested this can be achieved with ISFILTERED. Here is a fomula example:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Matrix with Blanks on lvl 1 = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Lvl 1]&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Lvl 2]&lt;/SPAN&gt;&lt;SPAN&gt;)=&lt;/SPAN&gt;&lt;SPAN&gt;FALSE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;//This checks if the current row is level 1 if so -&amp;gt; returns blank else returns the calculation below&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Value]&lt;/SPAN&gt;&lt;SPAN&gt;)) &lt;/SPAN&gt;&lt;SPAN&gt;//Sum can be replaced with measure&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;End result:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;The key here is to use multiple ISFILTERED functions with true and false conditions.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps to solve your issue and if it does consider accepting this as a solution!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:04:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227157#M53059</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-08T08:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227213#M53061</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;this is what i am expecting..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope i am clear.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:27:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227213#M53061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227240#M53064</link>
      <description>&lt;P&gt;Okay, I think I got it now. Unfortunately, according to my understanding a single table and level 1 of a matrix operate the same way so it is not possible to have one showing nulls and the other showing values with the same formula. Maybe we should try a different approach? What is reason behind this measure so why do you need it?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227240#M53064</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-08T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227256#M53066</link>
      <description>&lt;P&gt;values for company, category are not correct at higher level i mean when selected as single attribute in table, but when i drill down with brand then values are correct at that level, so aggregated values are not correct, which should be avioded , and we are using this power bI dataset as source to different dasbaords unlike sql server or azure etc.., so to aviod developers use wrong info we need to hide data at upper level.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227256#M53066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T08:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227258#M53067</link>
      <description>&lt;P&gt;type mistake, power BI dataset used as datasource like sql,azure etc..&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:53:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227258#M53067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227313#M53074</link>
      <description>&lt;P&gt;In this case shouldn't a simple,&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Brand]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Value]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;Do the trick?&amp;nbsp;&lt;BR /&gt;If the information is correct when filtered via brand then this condition should ensure the validity of data.&lt;BR /&gt;&lt;BR /&gt;Example of how it looks:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:21:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227313#M53074</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-08T09:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227560#M53089</link>
      <description>&lt;P&gt;can you share pbix with me, i tired similar method but its not working for me&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 10:55:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227560#M53089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T10:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227785#M53105</link>
      <description>&lt;P&gt;how about if i have to drilldown by company and brand?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 12:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227785#M53105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-08T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227901#M53109</link>
      <description>&lt;P&gt;If the data is correct only with those two drilldowns in place then,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(and(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Brand]&lt;/SPAN&gt;&lt;SPAN&gt;),ISFILTERED('Matrix example'[Company])),&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Matrix example'[Value]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Should do the trick.&lt;BR /&gt;&lt;BR /&gt;Then to get this to work in a matrix you can use Brand as a column and Company as&amp;nbsp; a row:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:48:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2227901#M53109</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-08T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2229299#M53159</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp;i tired this, but unfortunately my client wants it to have both in columns with filtering in both directions..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much..&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Geetha.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 04:17:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2229299#M53159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-09T04:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2234823#M53357</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Try to create a measure like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(ISINSCOPE('Table'[Brand]),SUM('Table'[value]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&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;</description>
      <pubDate>Mon, 13 Dec 2021 06:35:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2234823#M53357</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-12-13T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2234914#M53363</link>
      <description>&lt;P&gt;Thank you, but this not what i am expecting, measure should not be blank for prod_category/company.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if prod-category/company slected individually then it show blank, in hierarchial struture it should populate the values.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 07:17:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2234914#M53363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-13T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show Nulls when attribute is selected and show values when selected in combination with other attrib</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2246841#M53956</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = IF(ISINSCOPE('Table'[product category]),IF(ISINSCOPE('Table'[company ]),SUM('Table'[Value]),BLANK()),BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&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;</description>
      <pubDate>Mon, 20 Dec 2021 06:29:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Nulls-when-attribute-is-selected-and-show-values-when/m-p/2246841#M53956</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-12-20T06:29:28Z</dc:date>
    </item>
  </channel>
</rss>

