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 September 15. Request your voucher.
I'm trying to get just the values from a slicer. The following works, ecept when nothing is selected, it concatenates all possible selections.
multi values test = CONCATENATEX(ALLSELECTED('Include in table'[Include]),([Include]),",")
'Include in table'[Include] has values of Yes, No, Maybe. If I select 'Yes' in the slicer, then it displays Yes in the card showing the above measure. If I select Yes and No, it displays "Yes,No". If I select all three, it shows "Yes,No,Maybe". But if I don't select any of them, it also shows "Yes,No,Maybe". I think it should show nothing. What am I missing?
Hello,
You should try adding a if condition and use IsFiltered() to achieve what you want.
Take a look here : https://p3adaptive.com/2018/02/using-selectedvalues-capture-power-bi-slicer-selections/
Igna
User | Count |
---|---|
57 | |
57 | |
52 | |
48 | |
32 |
User | Count |
---|---|
161 | |
87 | |
69 | |
48 | |
45 |