Forum Discussion
DIACHROMA
Helper II
5 years agoCapped target in DAX
Hello Dax Lovers, I need some help 😊 I would like to calculate a rate of progress in relation to an objective, but this rate must be capped at 100%. Example of what I currently have: N...
- 5 years ago
// If such measures do not work blazingly fast, // then you have a problem in your model. 100%. [Capped Achievement] = MIN( 1, DIVIDE( [Achieved], [Goal] ) ) [Surplus] = MAX( 0, [Achieved] - [Goal] )
daxer-almighty
Solution Sage
5 years ago
// If such measures do not work blazingly fast,
// then you have a problem in your model. 100%.
[Capped Achievement] = MIN( 1, DIVIDE( [Achieved], [Goal] ) )
[Surplus] = MAX( 0, [Achieved] - [Goal] )
- DIACHROMA5 years ago
Helper II
- tausif1243 years agoNew Member
daxer-almighty can you explain to me what the cap achievement measure is doing? I just tried it for my need and its working.