The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi.
I want to create a Card where I can see wich elements of a particular slicer are selected but i don´t have a clue on how to do it, so far I can only put a single field selection using this DAX: Flor Actual = IFERROR(FILTERS('BD Final'[Flor GR]);"(Multiple Selection)")
I use the IFERROR so in case I have more than one field selected at the "Flor GR" slicer the Card just shows "Multiple Selection" but I want to be able to have multiple items selected and the Card shows me what i have selected.
Thanks.
Solved! Go to Solution.
Hi @Anonymous,
I think this Measure shoud help.
Hi @Anonymous,
I think this Measure shoud help.
Hi @Mariusz it works perfectly thank you so much!!
Now I would like to know if ther is a way that if have everything or nothing selected at the slicer the card instead of showing me the whole list just says "All selected".
Hi @Anonymous
Please see the below
Selected Slicer Values = VAR s = VALUES('Product'[Brand]) VAR c = COUNTROWS(ALL('Product'[Brand])) = COUNTROWS(s) RETURN IF( c, "All Selected", CONCATENATEX( s, 'Product'[Brand], "; " ) )
Always happy to help.
Mariusz
I have a need similar to this one... let me know if I should post separately but this thread is closest I can find so far...
So this user wanted to show all selected... I want to show "MULTI" or "Multiple" if a user selects more than one selection... How can I do this?
User | Count |
---|---|
80 | |
73 | |
40 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
55 | |
47 | |
47 |