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 September 15. Request your voucher.

Reply
andrelopes2711
Frequent Visitor

Help to replicate this excel in Power BI

Hello people!
I needed to replicate this histogram chart with normal distribution from excel to Power BI where for each market type (Spanish and Portuguese).
I calculate the "Minimum", "Maximum", "Averag"e value of the values of each agent and per week, in the "Size" counts the lines of each type of market, the Root of this size is calculated and the returned value we use to define the number of "Classe" dynamically, for the Increment we calculate (Maximum - Minimum)/Class, for the Standard Deviation we use the total column which is the average of the values of the selected weeks, o Increment 2 we calculate (Maximum - Minimum)/100 where this calculation will be used in the "Normal Distribution".
With the Class value defined we will define from 1 to the maximum integer value returned in the class calculation, the "Cut" and "Frequency" will be created based on this, for the Cut we will use the Minimum + Class * Increment calculation, for the frequency we define how many times each Cut is in the total of the average of the agents.

And with last calcs will create a histogram.

Tks for help!

 

https://1drv.ms/x/c/c959b830a59f4f8b/EeXAghV0AeVCvgZ4YMR8dTsBloDQ08eVWVOf1QmLW17f-Q?e=QDOayM 

1 REPLY 1
lbendlin
Super User
Super User

 and the returned value we use to define the number of "Classe" dynamically

Power BI does not support dynamic bucketing. You must bring your own predefined buckets.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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