The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
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.
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
38 |