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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.