Forum Discussion

CookieMonster's avatar
8 years ago
Solved

Do not show data in Table and Multi-Row Card when Text Filter is empty

I have a Text Filter, a table and a Multi-row Card.

 

When I search in the Text Filter, only the relevent data is shown in the table and Multi-row Card, but when I clear the Text Filter, all data is shown in both.

I would like it so that when I clear the Text Filter, the table and Multi-row Card is empty, how can I achieve this?

  • sokg's avatar
    sokg
    8 years ago

    1. Create a measure

     

    MeasureToCheck = COUNTROWS(ALLSELECTED(Sheet1[AnimalType]))

     

    2. Select table visual first and then click and drag that measure to visual level filter (see pic below)

     

     

    and choose is 1.

     

    3. Repeat 2 but first click row card.

     

    So we have

     

     

     

    then

     

     

    and at the end

     

     

    Are you ok???

     

     

     

     

     

     

    Are you ok with this???

14 Replies

  • sokg's avatar
    sokg
    Solution Supplier

    Try SELECTEDVALUE

     

     

    can you show us the measures used in Multi-row Card and which column use in Text Filter????

    • CookieMonster's avatar
      CookieMonster
      Helper I

      Sorry im new to Power BI, can you expand on what you mean by try SELECTEDVALUE?

       

      And what do you mean by 'measures used in Multi-row Card and which column use in Text Filter', do you mean what fields and filters?