Forum Discussion

derekli1700's avatar
derekli1700
Icon for Helper III rankHelper III
1 year ago
Solved

Make Matrix Table blank until Slicer Option is selected

Hi, i'm trying to have my matrix table be blank until a slicer option is selected and none of the youtube tutorials are working.

 

This is basically my table called Overview where it shows the stores and their sales volume:

StoresPeriodSales
AJan-2464,698
AMar-2478,476
AJan-2418,605
AMar-2419,573
AJan-248,165
AMar-248,168
AJan-2485,787
AMar-24108,818
AJan-2410,035
AMar-2412,049
AJan-249,127
AMar-2412,030
BJan-2430,623
BMar-2431,309
BJan-245,717
BMar-247,156
BJan-241,857
BMar-242,208
CJan-241,994
CMar-242,548
CJan-24438
CMar-24644


and i have a slicer that uses a unique list of all stores to filter on sales:

Site
A
B
C

Is there a measure that can be put on the "Filters on this visual" tab and set to " Is 1" that makes the matrix table blank until a slicer option is selected. There is alot of data in the actual sheet so i prefer the slicer list/data format stays the same

  • Create a measure for your slicer selection:

    ShowDataFlag =
    IF(
    HASONEVALUE('Site'[Site]),
    1,
    0
    )

    and then set the flag accordingly in your visual filters.

1 Reply

  • Create a measure for your slicer selection:

    ShowDataFlag =
    IF(
    HASONEVALUE('Site'[Site]),
    1,
    0
    )

    and then set the flag accordingly in your visual filters.