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,
I have this calculated column.
Days Off Service in Selected Wk = CALCULATE(COUNTAX(vw_PivotOffService,vw_PivotOffService[Days Off Service]),vw_PivotOffService[Week])
Some results returned are greater than 7. For theses I need to make them 7.
Solved! Go to Solution.
Hey
try this ...
Days Off Service in Selected Wk = var tempResult = CALCULATE(COUNTAX(vw_PivotOffService,vw_PivotOffService[Days Off Service]),vw_PivotOffService[Week]) return IF(tempResult > 7, 7, tempResult)
Hopefully, this is what you are looking for.
Regards
Hey
try this ...
Days Off Service in Selected Wk = var tempResult = CALCULATE(COUNTAX(vw_PivotOffService,vw_PivotOffService[Days Off Service]),vw_PivotOffService[Week]) return IF(tempResult > 7, 7, tempResult)
Hopefully, this is what you are looking for.
Regards
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |