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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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