Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 8 | |
| 7 |