Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Neev23
Regular Visitor

How to show no data in bar chart that is being referenced from a dropdown menu in sharepoint

Hello, I am currently creating a monthly status report dashboard and having trouble trying to showcase data that is directly being pulled from Sharepoint into Power BI. Within Sharepoint, there is a column that has a drop down menu showcasing these options: 

Neev23_1-1731355789748.png

Currently we have 21 items that have the same status as "Initial Draft Complete" and it is showing up in the bar chart here:

Neev23_2-1731355917176.png

I am trying to show the status' that are 0 for the remaining 7 status' but am having trouble having those points be returned into the bar chart as "0." I've even gone ahead and checked the "show items with no data" option within Power BI as well and still no luck:

Neev23_4-1731356074522.png

 

Neev23_3-1731356057090.png

 

 

 

 

 

 

 

 

I'm kind of stumped right now and need some guidance. How can I show the remaining values in the bar chart as 0?

1 ACCEPTED SOLUTION

Hi @Neev23 ,

Please refers to the below steps.


Create a single-column calculation table that stores all the choices for the /Status/ column.

DimStatus = {
    "Initial Draft Complete",
    "Overview Scheduled",
    "Overview Conducted",
    "Awaiting Evidence",
    "Delayed",
    "Internal Follow-up",
    "IRS Follow-up",
    "Approved"
}

vdengllimsft_1-1731477944315.png

 

In the bar chart, place the status column on the X-axis and the column of the calculation table on the Y-axis, and select /Show items with no data/.
The final result is as follows, hopefully it will your needs.

vdengllimsft_3-1731478255405.png

 

Best Regards,
Dengliang Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-denglli-msft
Community Support
Community Support

Hi @Neev23 ,

I did not reproduce your problem in my testing.

Below are my test steps.

In the test, a Sharepoint list was used as the data source with the following status column.

vdengllimsft_0-1731377800448.png

 

 

In this list, 21 items have "Initial Draft Complete" status and the remaining 7 have no status.
Placing the Status field into the Y and X axes of the bar chart results in the following.

vdengllimsft_1-1731378136678.png


Best Regards,
Dengliang Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for responding Dengliang! I may have caused confusion with my explanation and I apologize for that. The total number of items overall is 21 and currently they all hold the "Initial Draft Complete" status. I wanted to show that for the remaining status options (Overview Scheduled, Overview Conducted, Awaiting Evidence, etc.) that they would show up as 0 on the bar chart. So essentially I would have the 21 initial draft complete items, and 0 would be populated for the rest of the options in the chart. Hope that cleared up the confusion. 

Hi @Neev23 ,

Please refers to the below steps.


Create a single-column calculation table that stores all the choices for the /Status/ column.

DimStatus = {
    "Initial Draft Complete",
    "Overview Scheduled",
    "Overview Conducted",
    "Awaiting Evidence",
    "Delayed",
    "Internal Follow-up",
    "IRS Follow-up",
    "Approved"
}

vdengllimsft_1-1731477944315.png

 

In the bar chart, place the status column on the X-axis and the column of the calculation table on the Y-axis, and select /Show items with no data/.
The final result is as follows, hopefully it will your needs.

vdengllimsft_3-1731478255405.png

 

Best Regards,
Dengliang Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.