I do habe a slicer which filters a simple table. The slicer works perfectly fine, but obviously if the slicer is not active, all rows in the table are shown. Is there a option where the table is going to be empty when nothing is selected in the slicer? I know I can add another option to the slicer which empties the table, but I am looking more for a "default option".
You can create a measure which only returns a value if the slicer field is filtered:
Filtered MyMeasure =
IF (
CALCULATE (
ISFILTERED ( 'Dimension Table'[Sliced Field] ),
ALLSELECTED ( 'Dimension Table'[Sliced Field] )
),
[MyMeasure],
BLANK()
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.