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
Vsthesound
Frequent Visitor

Cannot visualize measures created in bar chart and histogram

Hi guys, 

Im currently stuck with trying to visualize customer groups created using measures. It displays perfectly as a table but not as a barchart or histogram. Please see sample as table below.

Vsthesound_0-1665142864432.png

I think the problem is with the Format when I created the measures, but I dont know what to do to change it. Pls any help would be highly appreciated.

Vsthesound_1-1665143259697.png

Vsthesound_2-1665143290346.png

 

1 ACCEPTED SOLUTION
Shaurya
Memorable Member
Memorable Member

Hi @Vsthesound,

 

I don't think it's the formatting that's the issue. You have created a measure for finding the Customer Group for every account that you have. This is working fine in the table visual where you are pulling in the account number and score as well. However, in other visuals like Bar or Column charts, the same measure wouldn't be able to aggregate other fields by using Cutomer Group as a category since it is missing the row context.

 

I suggest you create a calculated column instead of a measure and then add your visuals.

 

Did I answer your question? Mark this post as a solution if I did!

View solution in original post

3 REPLIES 3
Shaurya
Memorable Member
Memorable Member

Hi @Vsthesound,

 

I don't think it's the formatting that's the issue. You have created a measure for finding the Customer Group for every account that you have. This is working fine in the table visual where you are pulling in the account number and score as well. However, in other visuals like Bar or Column charts, the same measure wouldn't be able to aggregate other fields by using Cutomer Group as a category since it is missing the row context.

 

I suggest you create a calculated column instead of a measure and then add your visuals.

 

Did I answer your question? Mark this post as a solution if I did!

Thank you so much. Made it into a calculated column, that did the trick.😙

@Vsthesound You're welcome!

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.