Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
I am trying to calculate the nb of weeks we are above a saturation rate of 90% ,
Ex :
Week | Workload | Capacity |
1 | 100 | 100 |
2 | 90 | 100 |
3 | 92 | 100 |
4 | 80 | 100 |
5 | 81 | 100 |
6 | 95 | 100 |
7 | 100 | 100 |
8 | 75 | 100 |
9 | 85 | 100 |
10 | 98 | 100 |
Measure : Saturation rate = Workload / Capacity
Expected result : 4
Thanks in advance for your help
Mickael
Solved! Go to Solution.
Try the below formula:
saturation above 90 =
var summaryTable = ADDCOLUMNS('Table', "saturation", DIVIDE('Table'[Workload], 'Table'[Capacity]))
RETURN COUNTROWS(FILTER(summaryTable, [saturation] > 0.9))
Thanks a lot for your helps vicky_
Try the below formula:
saturation above 90 =
var summaryTable = ADDCOLUMNS('Table', "saturation", DIVIDE('Table'[Workload], 'Table'[Capacity]))
RETURN COUNTROWS(FILTER(summaryTable, [saturation] > 0.9))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
102 | |
71 | |
64 | |
39 |