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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Multiple Bar Char

Hi everyone, i'm in trouble with this graph. 

huentala94_0-1597394719067.png

 

I want 4 different colums like a 4 distinct category, but i have this:

huentala94_1-1597394797208.png

I know that the problem is the x axis, but i dont know how to put the correct data or if i have to add new coluns in the excel file. My excel file looks like this:

huentala94_3-1597394975946.png

 


these four fields are related to a single field.

Thank you very uch for the help¡¡

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You need to unpivot your for column in query editor and they will be  in one column. You can put the new column in x-axis:

Capture.PNGCapture1.PNG

 

But depend on your sample data. How could it be stacked?  

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , you need to have qtr-year on x-axis ? I do not see qtr year in data shared

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for the help. Yes, i need 4 columns in the graph:

1. 1Q with first column data
2. 2Q with second...
3. same
4. same

My problem is that i dont know how I should put 4 colummns into X axis, wich represent the four colums that i have in my excel file

Hi @Anonymous ,

 

You need to unpivot your for column in query editor and they will be  in one column. You can put the new column in x-axis:

Capture.PNGCapture1.PNG

 

But depend on your sample data. How could it be stacked?  

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.