<?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: Hide values in bar chart where value is 0 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624916#M32842</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="277432" data-lia-user-login="Caiz" class="lia-mention lia-mention-user"&gt;Caiz&lt;/a&gt; , If they column the only thing you can do is &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sales Team leaves = var _1&amp;nbsp; = calculate(sum(Table[Sales Team]))&lt;/P&gt;
&lt;P&gt;if(_1 =0 , blank(),0) //You need to create for other three&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the team is column value then&lt;/P&gt;
&lt;P&gt;Team leaves = var _1&amp;nbsp; = calculate(sum(Table[Team]))&lt;/P&gt;
&lt;P&gt;if(_1 =0 , blank(),0)&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 02:33:00 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-01-27T02:33:00Z</dc:date>
    <item>
      <title>Hide values in bar chart where value is 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624887#M32841</link>
      <description>&lt;P&gt;I am using a clustered bar chart to display the Sick Days taken by different teams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample of my table:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Sales Team&lt;/TD&gt;&lt;TD&gt;Development Team&lt;/TD&gt;&lt;TD&gt;Operations Team&lt;/TD&gt;&lt;TD&gt;Product Dev Team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sick days taken&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My chart is currently showing all 4 teams, even those with the value of 0. How do I get it to only showing teams with more than 1, and not show the Sales &amp;amp; Product Dev Team on the chart?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried look through a few forums and can't find a solution, I also can't do an advanced filter for some reason on e.g. "Sales Team" to only show values more than 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 02:22:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624887#M32841</guid>
      <dc:creator>Caiz</dc:creator>
      <dc:date>2021-01-27T02:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in bar chart where value is 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624916#M32842</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="277432" data-lia-user-login="Caiz" class="lia-mention lia-mention-user"&gt;Caiz&lt;/a&gt; , If they column the only thing you can do is &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sales Team leaves = var _1&amp;nbsp; = calculate(sum(Table[Sales Team]))&lt;/P&gt;
&lt;P&gt;if(_1 =0 , blank(),0) //You need to create for other three&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the team is column value then&lt;/P&gt;
&lt;P&gt;Team leaves = var _1&amp;nbsp; = calculate(sum(Table[Team]))&lt;/P&gt;
&lt;P&gt;if(_1 =0 , blank(),0)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 02:33:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624916#M32842</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-27T02:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in bar chart where value is 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624945#M32844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, I am getting an error for the following query:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Australia Sales Team SL = var _1 = calculate(sum('Sick Days'[Australia Sales Team]))if(_1 =0, blank(),0)))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error:&amp;nbsp;&lt;EM&gt;The syntax for 'if' is incorrect. (DAX(var _1 = calculate(sum('Sick Days'[Australia Sales Team]))if(_1 =0, blank(),0))))).&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Jan 2021 02:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624945#M32844</guid>
      <dc:creator>Caiz</dc:creator>
      <dc:date>2021-01-27T02:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in bar chart where value is 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624974#M32845</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="277432" data-lia-user-login="Caiz" class="lia-mention lia-mention-user"&gt;Caiz&lt;/a&gt; , Try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Australia Sales Team SL = &lt;BR /&gt;var _1 = calculate(sum('Sick Days'[Australia Sales Team]))&lt;BR /&gt;return&lt;BR /&gt;if(_1 =0, blank(),0)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 03:02:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1624974#M32845</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-27T03:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values in bar chart where value is 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1637269#M33233</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Unfortunately it's still showing this new measure in the chart even though the value is 0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 01:34:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-values-in-bar-chart-where-value-is-0/m-p/1637269#M33233</guid>
      <dc:creator>Caiz</dc:creator>
      <dc:date>2021-02-02T01:34:54Z</dc:date>
    </item>
  </channel>
</rss>

