Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone, thanks for comming in advance.
I ran into a issue that I need to calculate the normal distribution but seems like means and stds were not calculated correctly
I have this dataset as an example. What I want to do is to bring the 300 to every row and use it to calculate my number. I have date filter too.
Anyway, thanks for your helps in advance
Hugo.
Hi @mahoneypat thanks for your reply.
How can I filter the Month too. Ex: I just want to colllect data from Feb - Apr only. Ofcause the running average will change too.
To include/exclude specific months, you can use ALLSELECTED and a month slicer. To get last three months or other similar calculation, you'll want to set up a Date table in your model with month and month number columns.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Avg All Months = CALCULATE(AVERAGE(Table[Salary]), ALLSELECTED(Table[Month]))
change ALL to ALLSELECTED, if using month slicer
You need to use CALCULATE to remove the filter on the Month column like this
Avg All Months = CALCULATE(AVERAGE(Table[Salary]), ALL(Table[Month]))
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
25 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |