Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
124 | |
77 | |
75 | |
58 | |
50 |
User | Count |
---|---|
166 | |
84 | |
68 | |
67 | |
57 |