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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.