Forum Discussion

Ben83's avatar
Ben83
Icon for Advocate IV rankAdvocate IV
10 years ago
Solved

Text field to show the selected filter

I have created a report for the delivery reliability of our company. In this report I imported a long excel list with all of our delivery positions of a whole year. Every single delivery positions is...
  • konstantinos's avatar
    10 years ago

     You can try a measure that return text. You need to add it in a table , matrix or card visual.

     

    1. If you have a client column/table with unigue clients you can try this

     

    Clients Filtered =
    IF (
        HASONEVALUE ( Clients[ClientName] );
        VALUES ( Clients[ClientName] );
        "ALL"
    )

    2. If not you, you filter from fact table or other this option should work

    Clients Filtered 2 =
    IF (
        COUNTROWS ( VALUES ( Sales[Client] ) ) = 1;
        VALUES ( Sales[Client] );
        "ALL"
    )

    Hope that helps