<?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 Hide values in field parameters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3266244#M120926</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have multiple columns in my table that look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Student ID&lt;/TD&gt;&lt;TD&gt;Assessment Awareness of Self and environment&lt;/TD&gt;&lt;TD&gt;Assessment Cognitive Skills&lt;/TD&gt;&lt;TD&gt;Assessment Language and communication&lt;/TD&gt;&lt;TD&gt;Assessment Social skills..&lt;/TD&gt;&lt;TD&gt;Assessment Physical - Fine Motor&lt;/TD&gt;&lt;TD&gt;Assessment Physical - Gross Motor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1111&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2222&lt;/TD&gt;&lt;TD&gt;na&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3333&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4444&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;na&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;I have combined all the 6 Assessment columns in a field parameter 'Assessment Group'. I'm using this field parameter as a slicer and also as the dynamic X axis in a column chart. On the Y axis, I'm doing a simple:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(COUNTA(Student id),Assessment IN {1,2,3})&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I want to hide the BLANK and na values from the X axis for all the assessments that are selected from the slicer group. Currently the visual looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way to hide the BLANK and na values regardless of which column is picked from the slicer? I tried doing it through the visual level filter but that affects the calculations on Y axis.&lt;BR /&gt;Any help on this would be appreciated.&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 21:23:37 GMT</pubDate>
    <dc:creator>sunilbeckham</dc:creator>
    <dc:date>2023-06-02T21:23:37Z</dc:date>
    <item>
      <title>Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3266244#M120926</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have multiple columns in my table that look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Student ID&lt;/TD&gt;&lt;TD&gt;Assessment Awareness of Self and environment&lt;/TD&gt;&lt;TD&gt;Assessment Cognitive Skills&lt;/TD&gt;&lt;TD&gt;Assessment Language and communication&lt;/TD&gt;&lt;TD&gt;Assessment Social skills..&lt;/TD&gt;&lt;TD&gt;Assessment Physical - Fine Motor&lt;/TD&gt;&lt;TD&gt;Assessment Physical - Gross Motor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1111&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2222&lt;/TD&gt;&lt;TD&gt;na&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3333&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4444&lt;/TD&gt;&lt;TD&gt;BLANK&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;na&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;I have combined all the 6 Assessment columns in a field parameter 'Assessment Group'. I'm using this field parameter as a slicer and also as the dynamic X axis in a column chart. On the Y axis, I'm doing a simple:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(COUNTA(Student id),Assessment IN {1,2,3})&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I want to hide the BLANK and na values from the X axis for all the assessments that are selected from the slicer group. Currently the visual looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way to hide the BLANK and na values regardless of which column is picked from the slicer? I tried doing it through the visual level filter but that affects the calculations on Y axis.&lt;BR /&gt;Any help on this would be appreciated.&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 21:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3266244#M120926</guid>
      <dc:creator>sunilbeckham</dc:creator>
      <dc:date>2023-06-02T21:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3267597#M120998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="500470" data-lia-user-login="sunilbeckham" class="lia-mention lia-mention-user"&gt;sunilbeckham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create a new measure like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
SWITCH(
    SELECTEDVALUE('Assessment'[Assessment Order]),
    0, IF(SELECTEDVALUE('Table'[Assessment Awareness of Self and environment]) IN {"1","2","3"},1),
    1, IF(SELECTEDVALUE('Table'[Assessment Cognitive Skills]) IN {"1","2","3"},1),
    2, IF(SELECTEDVALUE('Table'[Assessment Language and communication]) IN {"1","2","3"},1),
    3, IF(SELECTEDVALUE('Table'[Assessment Physical - Fine Motor]) IN {"1","2","3"},1),
    4, IF(SELECTEDVALUE('Table'[Assessment Physical - Gross Motor]) IN {"1","2","3"},1),
    5, IF(SELECTEDVALUE('Table'[Assessment Social skills..]) IN {"1","2","3"},1)
)&lt;/LI-CODE&gt;
&lt;P&gt;and then use it as visual's filter:&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 size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 02:55:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3267597#M120998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-05T02:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269124#M121094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This was brilliant. Thank you so much for your help, I really appreciate it&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 18:14:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269124#M121094</guid>
      <dc:creator>sunilbeckham</dc:creator>
      <dc:date>2023-06-05T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269145#M121095</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;I have a quick follow up question if you don't mind.&lt;BR /&gt;I'm trying to sort the X axis now by column descending so that it's always in the order of 3,2,1. But it doesn't save the order of the axis when I select a different column from the field parameter slicer.&lt;BR /&gt;For example, I select 'Cognitive Skills' from the Assessment Group slicer, and I sort the axis on the visual by '&lt;SPAN&gt;Assessment Cognitive Skills' column descending. It gives me the desired output 3,2,1. But when I select another Assessment from the slicer, It changes the order again and goes back to sorting it by Y axis.&lt;BR /&gt;See screenshot below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 18:29:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269145#M121095</guid>
      <dc:creator>sunilbeckham</dc:creator>
      <dc:date>2023-06-05T18:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269459#M121119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="500470" data-lia-user-login="sunilbeckham" class="lia-mention lia-mention-user"&gt;sunilbeckham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally, this needs to be sorted with the help of auxiliary columns, but in this case it doesn't apply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may consider using Unpivot for these columns in the PowerQuery editor.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Because the values on this axis originate from the same field, consider using a visual filter.&amp;nbsp;Reference sample files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 01:29:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3269459#M121119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-06T01:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in field parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3270832#M121222</link>
      <description>&lt;P&gt;Thank you so much for your help. I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:17:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-field-parameters/m-p/3270832#M121222</guid>
      <dc:creator>sunilbeckham</dc:creator>
      <dc:date>2023-06-06T15:17:26Z</dc:date>
    </item>
  </channel>
</rss>

