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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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