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 @Anonymous -
Use HASONEVALUE( )
IF ( HASONEVALUE ( vehiclesettings_BI_LL[Year] ),
SWITCH(
.... ,
"Euro 6"),
"") //ELSE
Note, this will also show "" if 0 slicer selections are made.
Hope this helps
David
@Anonymous - if you want any value to change with a slicer, it must be a measure. Calculated columns are only refreshed once when the entire dataset is refreshed.
If you're still having trouble, please share a copy of your PBIX file with sensitive data scrubbed out.
David
I changed my syntax to work in a measure and now it works as intended. Thank you for your help!
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 |
---|---|
49 | |
26 | |
21 | |
16 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |