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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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

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

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


Anonymous
Not applicable

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

Helpful resources

Announcements
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors