Forum Discussion
Text field to show the selected filter
- 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
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
Hi,
If i choose Age 30,40 and 50 it should display as the same in the text field and if i choose Select ALL it should be display as 'ALL' Below code only work for single select but not for Multiselect of Age from Drop down, Please help me
AFILTER = If(HASONEFILTER('UVN_CNSMR_CORE MSTR_CNSMR_PRFL'[AGE]),
VALUES ('UVN_CNSMR_CORE MSTR_CNSMR_PRFL'[AGE]),"ALL")