Forum Discussion
filter a graph visual by a measure
- Anonymous5 years ago
Hi amalrio ,
What's your expected result? Which field of the table the slicer year plan is from? That is a default field in table or a a calculated column? If it is a calculated column, please provide the related formula. It will only display the data marked with red circle in table visual when select the option "2020 5 Year Plan" in the slicer?
In addition, please update the formula of your measure [Measured in Plan] as below(the part with red font is new added) and check whether it can get your expected result:
Measured in Plan =
VAR Inferred = [Inferred in Plan]
VAR Indicated = [Indicated in Plan]
VAR Total = 1 - Inferred - Indicated
VAR Result =
DIVIDE (
IF (
Total = 0
|| ISBLANK ( Indicated )
|| ISBLANK ( Indicated ),
BLANK (),
Total
),
1
)
RETURN
ResultBest Regards
amalrio , if you need a slicer on a measure, you need dynamic segmentation.
refer my video or blog
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
Other option is visual level filter