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

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

Reply
infinite007
New Member

Unable to map axis to values

Hi,

 

I have been trying to build a bar chart from a flat table which has multiple features (say feature_1, feature_2, feature_3 and feature_4). But I am unable to build a one to one mapping of the values of these features and the feature names resulting in a bar chart that looks like this :   

infinite007_0-1625808133666.png

 

I want to separate the bars of features but I am unable to do so. I would really appreciate some help to resolve this problem. Thank you in advance. 

 

 

4 REPLIES 4
amitchandak
Super User
Super User

@infinite007 ,Can you share sample data in table format and sample output ?

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

Feature names table:

 

names
feature_1
feature_2
feature_3
feature_4

feature_1   feature_2  feature_3  feature_4
4 5 3 2
5 5 5 1
3 2 2 1
3 1 1 1

@infinite007 , One of the way you can unpivot this data then you will get feature in rows .

and then use that as axis or legend 

 

https://radacad.com/pivot-and-unpivot-with-power-bi

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.