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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
redcotton9063
New Member

Histogram Based on Rank

Hi,

I have to create histogram(SS) based on data.Any idea how to get below chart.

 

Employee IDNameRank Performance Rank
122Michael DavidUnderperformer9
150Lisa DouglasUnderperformer9
125Jennifer SmithInconsistent8
130Mohammad RafiAssess Fit to Role 7
131Keith LovingEffective6
132Riz CarlKey Performer5
133Glen RafaelTrusted / Key 4
134Emily PainterHigh Impact3
135Alex MognoRising Star2
136Rookie ThomasEmerging Leader1
141James WattEmerging Leader1
155Suzie OrmanRising Star2
165Jim AresEffective6
171Jennah MagdoomKey Performer5

 

 

image.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @redcotton9063 

I think you may need to build a R visual to achieve your goal.

The visual will look like as below.

1.png

You may refer to this blog: R Script - Overlay Normal Distribution Curve

For more info about how to build R visual in Power BI: Create Power BI visuals using R

 

Best Regards,

Rico Zhou

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @redcotton9063 

Could you tell me if your problem has been solved? If it is, kindly Accept the helpful reply as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

Anonymous
Not applicable

Hi @redcotton9063 

I think you may need to build a R visual to achieve your goal.

The visual will look like as below.

1.png

You may refer to this blog: R Script - Overlay Normal Distribution Curve

For more info about how to build R visual in Power BI: Create Power BI visuals using R

 

Best Regards,

Rico Zhou

 

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

 

CNENFRNL
Community Champion
Community Champion

Hi, @redcotton9063 , you might want to use "Line and clustered column chart" viz in Power BI to visualize the data.viz.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

amitchandak
Super User
Super User

@redcotton9063 , Not very clear , see if these viusal can help

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380776?tab=Overview

https://blog.pragmaticworks.com/power-bi-custom-visuals-histogram

 

Or this blog

https://www.mssqltips.com/sqlservertip/4076/power-bi-histogram-example-using-dax/

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.