<?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 zero values in bar chart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250175#M57946</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Im looking for similar kind of requirement above. Tha bar chart should display "0" even&amp;nbsp; if we dont have blank values in fields instead of fields missing when filter. I am aware of "show items with no data". This is something which i can see categories on y-axis with not displaying "0". Im looking for categories should display "0" when we filter on&amp;nbsp; other columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kkanukurthi_0-1729493198300.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1186185iD76BF06D156C3C6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kkanukurthi_0-1729493198300.png" alt="kkanukurthi_0-1729493198300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 06:49:24 GMT</pubDate>
    <dc:creator>kkanukurthi</dc:creator>
    <dc:date>2024-10-21T06:49:24Z</dc:date>
    <item>
      <title>Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2162521#M32662</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show zero values in bar chart. Please find the sample data and the screenshot.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer text&lt;/STRONG&gt;&amp;nbsp;field is dimension and &lt;STRONG&gt;sector&lt;/STRONG&gt; field is filter in the report..&lt;/P&gt;&lt;P&gt;Below is the measure I am using in Bar chart :&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;New Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;v1&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;AnswerHistory_Benchmarking[POrganization]&lt;/SPAN&gt;&lt;SPAN&gt;) , &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AnswerHistory_Benchmarking&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;AnswerHistory_Benchmarking[POrganization]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;6377&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v1&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I select Asset and wealth Management in sector filter then all the answet texts should display in the y axis.&amp;nbsp;&lt;BR /&gt;For ex: Answer text DDD doesn't contain&amp;nbsp;Asset and wealth Management still it should display in Y axis and represent as zero.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMPLE DATA.PNG" style="width: 722px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/621881i689EA2242F865A1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAMPLE DATA.PNG" alt="SAMPLE DATA.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Below screenshot is my expected output.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 571px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/621857iB0558232AF7570EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 06:51:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2162521#M32662</guid>
      <dc:creator>Kavya123</dc:creator>
      <dc:date>2021-10-29T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2164567#M32674</link>
      <description>&lt;P&gt;Usually you can achieve that by using fields from the dimension table and selecting "show items with no data"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show a sanitized version of your data model.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 23:28:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2164567#M32674</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-10-30T23:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2169875#M32718</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/97881"&gt;@Kavya123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a sector table, then create a relationship with the fact table and use it as axis.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = DISTINCT('Table'[Sector])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vlianlmsft_1-1635921813470.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/624502i35F9E3FFB5876CE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vlianlmsft_1-1635921813470.png" alt="Vlianlmsft_1-1635921813470.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vlianlmsft_0-1635921783698.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/624501i2CD883A1F10CD3C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vlianlmsft_0-1635921783698.png" alt="Vlianlmsft_0-1635921783698.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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>Wed, 03 Nov 2021 06:43:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/2169875#M32718</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-11-03T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/3584072#M45771</link>
      <description>&lt;P&gt;Hi Kavia,&lt;/P&gt;&lt;P&gt;There is a simpeler solution to your problem.&lt;/P&gt;&lt;P&gt;When you create a measure for the number of students, for instance:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NumberOfStudents =&lt;/SPAN&gt; &lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SP_DASHBOARD&lt;/SPAN&gt;&lt;SPAN&gt;[STUDENTNUMBER]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;, the 0-values are &lt;STRONG&gt;not&lt;/STRONG&gt; shown in the charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you create the measure like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NumberOfStudents =&lt;/SPAN&gt; &lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SP_DASHBOARD&lt;/SPAN&gt;&lt;SPAN&gt;[STUDENTNUMBER]&lt;/SPAN&gt;&lt;SPAN&gt;)=&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SP_DASHBOARD&lt;/SPAN&gt;&lt;SPAN&gt;[STUDENTNUMBER]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;, the 0-values are shown in the charts.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2023 13:55:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/3584072#M45771</guid>
      <dc:creator>AllardBon</dc:creator>
      <dc:date>2023-12-14T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/3584865#M45784</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/431801"&gt;@AllardBon&lt;/a&gt;&amp;nbsp;&amp;nbsp; I would consider that to be a bug - as it means that BLANK() is treated as being equal to 0 which is incorrect.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 01:47:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/3584865#M45784</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-12-15T01:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250175#M57946</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Im looking for similar kind of requirement above. Tha bar chart should display "0" even&amp;nbsp; if we dont have blank values in fields instead of fields missing when filter. I am aware of "show items with no data". This is something which i can see categories on y-axis with not displaying "0". Im looking for categories should display "0" when we filter on&amp;nbsp; other columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kkanukurthi_0-1729493198300.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1186185iD76BF06D156C3C6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kkanukurthi_0-1729493198300.png" alt="kkanukurthi_0-1729493198300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 06:49:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250175#M57946</guid>
      <dc:creator>kkanukurthi</dc:creator>
      <dc:date>2024-10-21T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250638#M57955</link>
      <description>&lt;P&gt;That's a bad UX. Have your users asked for that?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 10:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250638#M57955</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-21T10:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show zero values in bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250753#M57956</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;since i hide x-axis values and enable data labels users want to see '0' display for categories which have no data on bar chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another request please, can we lock slicer drop down list on top screen instead of using scroll bars down the way to check category. It is occupying more space overlapping with other visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Show-zero-values-in-bar-chart/m-p/4250753#M57956</guid>
      <dc:creator>kkanukurthi</dc:creator>
      <dc:date>2024-10-21T12:20:20Z</dc:date>
    </item>
  </channel>
</rss>

