Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Multiselect Slicer interaction with Doughnut chart

I have slicer with multi select option, japan, UK, Brazil, data is available only for Japan and datasource M, so if user select Japan and any other country, or all three countries at on go, it should...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Anonymous ,
    You can try the following steps
    Create two measures

    Text Measure = 
     IF(
        SELECTEDVALUE('Table'[Market]) <> "Japan",
        "Data available only for Japan",
        ""
     )
    Background Measure = 
    IF(
        SELECTEDVALUE('Table'[Market]) = "Japan",
        "#FFFFFF00",
        "#FFFFFF"
    )

    Create a card visualiization

    Go to Format Visual -> Turn of the Category lable

    Then go to General -> Effects, Cutom background color

    Cover your Donut chart with the formatted card and resize it to completely cover the Donut chart.

    Final output

     

    Best regards,
    Albert He


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly