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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
setty
Frequent Visitor

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
Employee
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
Employee
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


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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.