Forum Discussion
Default filter when no filter selected
- Anonymous5 years ago
Hi zoffice
I think your data model is as below.
If you want to calculate number you can use measure like Fowmy 's reply.
If you want to retrieve string values you can try my measure.
String = IF( ISFILTERED('Table'[Region]), MAX('Table'[Value-string]), CALCULATE( MAX('Table'[Value-string]), 'Table'[Region] = "Europe" ) )Result is as below.
By default:
Select Asia:
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you!
How do I retrieve string values?
Hi zoffice
I think your data model is as below.
If you want to calculate number you can use measure like Fowmy 's reply.
If you want to retrieve string values you can try my measure.
String =
IF(
ISFILTERED('Table'[Region]),
MAX('Table'[Value-string]),
CALCULATE(
MAX('Table'[Value-string]),
'Table'[Region] = "Europe"
)
)
Result is as below.
By default:
Select Asia:
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.