Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |