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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.