Forum Discussion
Calculated Columns and Measure
- 5 years ago
Hi Anonymous ,
You could try the following measure:
test =
VAR not_compliant =
CALCULATE (
COUNT ( 'Table'[Stop Comp over 5 mins] ),
FILTER (
ALL ( 'Table' ),
'Table'[Journey Alias] = MAX ( 'Table'[Journey Alias] )
&& 'Table'[Stop Comp over 5 mins] = "Not Compliant"
)
)
VAR at_all =
IF ( not_compliant >= 1, "Not Compliant", "Compliant" )
RETURN
at_allFinally you will see:
If this is not what you want, please describe what you want, thank you!
Best Regards,
Lucien
Hi Anonymous ,
You could try the following measure:
test =
VAR not_compliant =
CALCULATE (
COUNT ( 'Table'[Stop Comp over 5 mins] ),
FILTER (
ALL ( 'Table' ),
'Table'[Journey Alias] = MAX ( 'Table'[Journey Alias] )
&& 'Table'[Stop Comp over 5 mins] = "Not Compliant"
)
)
VAR at_all =
IF ( not_compliant >= 1, "Not Compliant", "Compliant" )
RETURN
at_all
Finally you will see:
If this is not what you want, please describe what you want, thank you!
Best Regards,
Lucien
- Anonymous5 years agoNot applicable
This doesn't work either, if you can help me share the file link then that would help as having the underlying data will help make my question easier to understand.
- v-luwang-msft5 years agoCommunity Support
- Anonymous5 years agoNot applicable
Hi Lucien,
How can I do that so I can share my report to you instead?
Regards,
Paolo