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
Hello.
I am having a table with the columns
ticket_id, Title, priority,
I am trying to create a measure to convert the priority number to a text name:
"SLA Priority = SWITCH([priority],1,"Minor", 2, "Average", 3, "Major", 4, "Blocker", "Missing")"
But when i try to chose [priority] in my expression only other measures are listed non of the columns is available to be chosen. I have encountered this problem several times in diferent tables i have and with diferent functions.
What am i missing? Why cant i use the column in the measure?
Solved! Go to Solution.
You appear to be referencing a "naked column" where the SWITCH() function is expecting a measure. That's why only measures appear in the IntelliSense.
use MIN(Table[Priority]) instead, that should fix it.
Hi @Lorentzt,
What @Anonymous said is right, please use the following formula, it will work.
SLA Priority =
SWITCH (
FIRSTNONBLANK ( [priority], [priority] ),
1, "Minor",
2, "Average",
3, "Major",
4, "Blocker",
"Missing"
)
Best Regards,
Angelia
Hi @Lorentzt,
What @Anonymous said is right, please use the following formula, it will work.
SLA Priority =
SWITCH (
FIRSTNONBLANK ( [priority], [priority] ),
1, "Minor",
2, "Average",
3, "Major",
4, "Blocker",
"Missing"
)
Best Regards,
Angelia
You appear to be referencing a "naked column" where the SWITCH() function is expecting a measure. That's why only measures appear in the IntelliSense.
use MIN(Table[Priority]) instead, that should fix it.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |