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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
javedbh
Helper II
Helper II

Histogram visual

I downloaded histogram custom visual and sample from this url:

https://app.powerbi.com/visuals/

 

It seems that the visual removes the duplicates from the data i.e. gets distinct values and then creates bins and count items against each bin. This is clearly visible with the “Students exam result” page in the sample. I also tried this visual with my own data and noticed the same behavior. I think duplicates values should not be removed.

 

I have mailed the author about the problem and waiting for the reply. If it is fixed then it would be great.

 

*** or ***

 

Is there anybody that can help me achieve the same chart with with the existing/custom visual, any script or sample etc. ??

 

 

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@javedbh have you tried Count instead of Count (Distinct0 ?

View solution in original post

2 REPLIES 2
ankitpatira
Community Champion
Community Champion

@javedbh have you tried Count instead of Count (Distinct0 ?

@ankitpatira Previously I overlooked the "Frequency" thing because I didn't need it. I added required column under "Values" and it do not provide any option to use a function. However when I added the same column under "Frequency" and used "Count" (Not "Count Distinct") and it worked.

 

Thanks for pointing out.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.