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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
stewarte18
Regular Visitor

Creating Bar Chart with Metric data

I'm newer to Power BI.  I'm trying to create a simple Bar Chart that you would put together in Excel (See below Total) using Survey Audit Data.  The Survey question asks What was Missing?  The person submitting the audit has 8 options to choose from and can choose multiple.  I have calculated the total for each response.  Each of these responses are a seperate column in the same table.  Because of this, my bar chart shows up very clumped together, and my Y-Axis shows the legend. (See below Missing PPE)

 

Any help on how to reformat my data or other productive options would be appreciated.

PPE.JPG

Excel.JPG

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

The raw data will have to be transformed using the Query Editor.  Share data here which can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I need to build a simple bar chart using the table below.  However, in Power BI, there is no relationship between the x-axis so the visual appears incorrect.  This is a multi-select question so the columns cannot be merged in power query.

 

 

Table.JPG

Hi,

In the Query Editor, right click on the first column and select "Unpivot other column".  You may delete the attribute column.  Now create the visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.