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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sivaadityat
Frequent Visitor

Visualize bins with unique measure values

Hello All,

 

I got a requirement in Headcount utilization with below scenario. I am looking a help to visualize bar chart with both measures in X and Y axis.

 

Scenario: I have calculated headcount and utilization percentage based on hours spent by each employee and converted utilization into bins. Now, I would like calculate headcount(unique emp ID's) based on bins calculated in measures(Bins - Utilization%).

 

As measures are not supported in Bar graph X axis, I am facing issue. Please find the example excel sheet below for reference.

 

EMP IDClient Facing HeadcountClient Facing HoursUtilization %Bins - Utilization%
A100140100%100 - 200%
A101150125%100 - 200%
A102160150%100 - 200%
A103170175%100 - 200%
A104180200%100 - 200%
A105190225%200 - 250%
A1061100250%200 - 250%
A1071110275%250 - 300%
A1081120300%250 - 300%
A1091130325%> 300%
A1101140350%> 300%

 

 

Note: please note that headers mentioned in red color above are Measures.

 

sivaadityat_0-1697446869829.png

 

Any inpus / help is highly appriciated.

 

Thanks,Siva

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sivaadityat ,

Please try to create a calculate column with VAR keyword, use the VAR keyword to define the based calculate logic.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @sivaadityat ,

Please try to create a calculate column for bins, then add it to the X axis.

In Power BI, X axis do not support measure.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous 

 

Thanks for the reply. I tried calculating calculated column for binning for this issue. But, as I am calculating this bins based on a measure value, it is giving a aggrigated value for all rows.

Anonymous
Not applicable

Hi @sivaadityat ,

Please try to create a calculate column with VAR keyword, use the VAR keyword to define the based calculate logic.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.