<?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: Display stacked bar chart only if one of the filter metrics has a greater than zero value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781955#M183114</link>
    <description>&lt;P&gt;Happy to see it works! You can also mark this as solution so other people can find it:)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2025 22:12:29 GMT</pubDate>
    <dc:creator>MasonMA</dc:creator>
    <dc:date>2025-07-30T22:12:29Z</dc:date>
    <item>
      <title>Display stacked bar chart only if one of the filter metrics has a greater than zero value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781917#M183110</link>
      <description>&lt;P&gt;I am working building out a report with a stack bar chart and I am attempting to write a dax query to display the data as intended. The Data is from the NHL. I have pulled three columns as metrics into my report(they have whole number values):&lt;BR /&gt;&lt;BR /&gt;1. I_F_highDangerGoals&lt;/P&gt;&lt;P&gt;2. I_F_mediumDangerGoals&lt;/P&gt;&lt;P&gt;3. I_F_lowDangerGoals&lt;BR /&gt;&lt;BR /&gt;Now I am pulling those metrics into a stacked bar chart, but I do not want to show any players who have zero goals for ALL three metrics. If they have a greater than zero value for one of those three metrics, I want to display that player. I have tried multiple different queries and cannot seem to get it right. Thank you for any help you can provide!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 20:41:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781917#M183110</guid>
      <dc:creator>JBussone</dc:creator>
      <dc:date>2025-07-30T20:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display stacked bar chart only if one of the filter metrics has a greater than zero value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781925#M183111</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1325392" data-lia-user-login="JBussone" class="lia-mention lia-mention-user"&gt;JBussone&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You may try applying&amp;nbsp;&lt;SPAN&gt;below measure to the visual-level filter on your stacked bar chart and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Set ' is =1'.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF (&lt;BR /&gt;SUM('table'[I_F_highDangerGoals]) +&lt;BR /&gt;SUM('table'[I_F_mediumDangerGoals]) +&lt;BR /&gt;SUM('table'[I_F_lowDangerGoals]) &amp;gt; 0,&lt;BR /&gt;1,&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this works:)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 21:29:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781925#M183111</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-07-30T21:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display stacked bar chart only if one of the filter metrics has a greater than zero value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781949#M183112</link>
      <description>&lt;P&gt;I am so sorry&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="2025" data-lia-user-login="Mason" class="lia-mention lia-mention-user"&gt;Mason&lt;/a&gt;&amp;nbsp;! I am very new to Power BI and it has changed a lot since last time I used it(10 yrs ago). I believe I have the correct format but in dax it is showing that my IF statement syntax is incorrect. I assume I would create this this visual filter and it will be selectable in the Data pane once created; After that I can use it under ""Filters on this visual"?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PlayerGoalsFiltered&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&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;'skaters'&lt;/SPAN&gt;&lt;SPAN&gt;[I_F_highDangerGoals]&lt;/SPAN&gt;&lt;SPAN&gt;) +&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;'skaters'&lt;/SPAN&gt;&lt;SPAN&gt;[I_F_mediumDangerGoals]&lt;/SPAN&gt;&lt;SPAN&gt;) +&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;'skaters'&lt;/SPAN&gt;&lt;SPAN&gt;[I_F_lowDangerGoals]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jul 2025 22:04:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781949#M183112</guid>
      <dc:creator>JBussone</dc:creator>
      <dc:date>2025-07-30T22:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display stacked bar chart only if one of the filter metrics has a greater than zero value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781952#M183113</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="903292" data-lia-user-login="MasonMA" class="lia-mention lia-mention-user"&gt;MasonMA&lt;/a&gt;&amp;nbsp;I just figured it out! Thank you so much for your help! I hope you have a great rest of your day! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 22:08:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781952#M183113</guid>
      <dc:creator>JBussone</dc:creator>
      <dc:date>2025-07-30T22:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display stacked bar chart only if one of the filter metrics has a greater than zero value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781955#M183114</link>
      <description>&lt;P&gt;Happy to see it works! You can also mark this as solution so other people can find it:)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 22:12:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-stacked-bar-chart-only-if-one-of-the-filter-metrics-has/m-p/4781955#M183114</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-07-30T22:12:29Z</dc:date>
    </item>
  </channel>
</rss>

