Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Solved! Go to Solution.
OK, let's figure out what is going on here, try this:
SWITCH(TRUE(),
Table1[Queue] = "CSC EZTech" || Table1[Queue] = "CSC ", "Programming Support",
Table1[Queue] = "Engine","Duty",
Table1[Queue] = "I6Engine","Medium",
"Other"
)
Maybe try:
SWITCH(Table1[Queue] & "","CSC EZTech" || "CSC ", Programming Support","Engine","Duty","I6Engine","Medium","Other")
Thanks @Greg_Deckler ,Tried and still getting the same error
SWITCH(Table1[Queue] & "","CSC EZTech" || "CSC ", Programming Support","Engine","Duty","I6Engine","Medium","Other")
Function 'SWITCH' does not support comparing values of type Text with values of type True/False. Consider using the VALUE or FORMAT function to convert one of the values.
OK, let's figure out what is going on here, try this:
SWITCH(TRUE(),
Table1[Queue] = "CSC EZTech" || Table1[Queue] = "CSC ", "Programming Support",
Table1[Queue] = "Engine","Duty",
Table1[Queue] = "I6Engine","Medium",
"Other"
)
This one worked for me ,Thanks alot @Greg_Deckler
SWITCH(TRUE(), Table1[Queue] = "CSC EZTech" || Table1[Queue] = "CSC ", "Programming Support", Table1[Queue] = "Engine","Duty", Table1[Queue] = "I6Engine","Medium", "Other" )
Or maybe this:
SWITCH(Table1[Queue]
"CSC EZTech","Programming Support",
"CSC ","Programming Support",
"Engine","Duty",
"I6Engine","Medium",
"Other"
)
User | Count |
---|---|
47 | |
26 | |
22 | |
17 | |
15 |
User | Count |
---|---|
53 | |
34 | |
17 | |
17 | |
15 |