Forum Discussion
Miruthan
8 years agoAdvocate V
SELECTEDVALUE with Slicer Selection
Hi Experts, I need guidance on SEELECTEDVALUE, I have Slicer and Mulitiple card, I want to show the selection of slicer in the card. I used SELECTED VALUE, but always shows false option. Sel...
- 8 years ago
Unfortunately SELECTEDVALUE does not suppor that. From:
https://msdn.microsoft.com/en-us/library/mt842608.aspx
Term Definition columnName The name of an existing column, using standard DAX syntax. It cannot be an expression. alternateResult (Optional) The value returned when the context for columnName has been filtered down to zero or more than one distinct value. When not provided, the default value is BLANK().
Greg_Deckler
8 years agoCommunity Champion
Unfortunately SELECTEDVALUE does not suppor that. From:
https://msdn.microsoft.com/en-us/library/mt842608.aspx
| Term | Definition |
|---|---|
| columnName | The name of an existing column, using standard DAX syntax. It cannot be an expression. |
| alternateResult | (Optional) The value returned when the context for columnName has been filtered down to zero or more than one distinct value. When not provided, the default value is BLANK(). |
Miruthan
8 years agoAdvocate V
Hi Greg_Deckler I found the solution ,
Selected = "Selected Product: " & IF(NOT(ISFILTERED(Product[Name])),"All",
CONCATENATEX(ALLSELECTED(Product[Name]),Product[Name],","))
- Greg_Deckler8 years agoCommunity Champion
Nice one!
- ranahamza3 years agoFrequent Visitor
Great👍