Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Selected = SELECTEDVALUE(Product[Name], "No Selection").
What wrong I am doing here.
Solved! Go to Solution.
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(). |
I'm not sure what you mean by Multiple card (multi-row card?). It may have something to do with your data, but I have tested this with text, numeric and date data types in a multirow card. It will return the alternate result if you select multiple items.
Hi @Greg_Deckler Sorry for the confusion,I meant Multi row card visual. Let me put in simple way, I want to display the Multiple(more than one) Selected value from Slicer in Card.
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(). |
Hi @Greg_Deckler I found the solution ,
Selected = "Selected Product: " & IF(NOT(ISFILTERED(Product[Name])),"All",
CONCATENATEX(ALLSELECTED(Product[Name]),Product[Name],","))
Great👍
Nice one!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
52 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |