Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

Show All Possible Options from SharePoint Dropdown

Hello. I am trying to create a bar chart that shows the number of events that fall into different categories. As these events occur, users enter the data into a SharePoint list. One of the fields is a drop down that helps to categorize the events.

 

In Power BI I have created a bar chart showing this information, however, it only shows bars for event categories that have occured. There are only five possible categories and some of the categories have no entries in SharePoint.

 

How can I include this data on the bar chart? In other words, is there a way to pull this information in from SharePoint?

 

Here's a picture of the chart:

chart.JPG

Here's a picture of the possible options:

da43315d-4b6a-4b43-a9c6-297c841095a2.png

I do have "Show Items With No Data" enabled, the categories are just not present in the data at this time.

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Syndicated - Outbound

Until all 5 values are in the list, the simplest way would be to create a table with those values with the Enter Data button, relate that table to your original table, use the new column in the visual and "show items with no data".

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Syndicated - Outbound

Until all 5 values are in the list, the simplest way would be to create a table with those values with the Enter Data button, relate that table to your original table, use the new column in the visual and "show items with no data".

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


avatar user
Anonymous
Not applicable

Syndicated - Outbound

This works. I was hoping there was a way for it to get it from SharePoint but that's ok. Thank you!

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)