Forum Discussion
Anonymous
6 years agoNot applicable
FORMAT ignores filter
When I apply the FORMAT function in the following measure, my matrix visual ignores the slicer filter, and displays blank columns. Here is the measure code: ERMetricValue =
var sel = SELECTEDVALUE...
- 6 years ago
Hi Anonymous ,
You could use IF() to hide blank values.
var ret = IF ( val <> BLANK (), SWITCH ( sel, "Preventable Percent", FORMAT ( val, "###%" ), "Avoidable Percent", FORMAT ( val, "###%" ), "Allowed Amount", FORMAT ( val, "$#,##0" ), "Paid Amount", FORMAT ( val, "$#,##0" ), "Visits", FORMAT ( val, "#,##0" ), "Avoidable", FORMAT ( val, "#,##0" ), "Preventable", FORMAT ( val, "#,##0" ) ) )
Anonymous
6 years agoNot applicable
Hi Anonymous ,
Could you please share a sample with me?
Because I don't have the data, I can't test my thoughts.
Thanks.
Aiolos Zhao