Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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:

Here's a picture of the possible options:

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

  • 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

2 Replies

  • mahoneypat's avatar
    mahoneypat
    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

    • Anonymous's avatar
      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!