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.
zoffice
Not quite sure what you means by "retrieve string values". I assume you have a dimension table with a Region Column.
Please share some sample data based on your model and provide a clear explanation.
You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.
____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?
_____________________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply š