This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have the following SWITCH statement as a new column:
Solved! Go to Solution.
Hi @Anonymous
It can work correctly on my side.
Please check which version you use(there may be an issue with the previous version).
To make it works on your side, i would suggest you updating the lastest version.
https://docs.microsoft.com/en-us/power-bi/desktop-latest-update
There is a workaround as below if you use the current version:
Create measures
Measure 1 = SWITCH(MAX(Table2[Trend]),"Up",1,"Down",-1,"Steady",0) Measure 2 = VAR Down = UNICHAR (11167) VAR Up = UNICHAR (11165) VAR Equal = UNICHAR (61 ) RETURN SWITCH ( TRUE(), [Measure 1]<0, Down, [Measure 1]>0, Up&" ", [Measure 1]=0, Equal)
or create columns
Column 1 = SWITCH(Table2[Trend],"Up",1,"Down",-1,"Steady",0) Column 2 = VAR Down = UNICHAR (11167) VAR Up = UNICHAR (11165) VAR Equal = UNICHAR (61 ) RETURN SWITCH ( TRUE(), [Column 1]<0, Down, [Column 1]>0, Up&" ", [Column 1]=0, Equal)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
Best Regards
Maggie
Hi @Anonymous
It can work correctly on my side.
Please check which version you use(there may be an issue with the previous version).
To make it works on your side, i would suggest you updating the lastest version.
https://docs.microsoft.com/en-us/power-bi/desktop-latest-update
There is a workaround as below if you use the current version:
Create measures
Measure 1 = SWITCH(MAX(Table2[Trend]),"Up",1,"Down",-1,"Steady",0) Measure 2 = VAR Down = UNICHAR (11167) VAR Up = UNICHAR (11165) VAR Equal = UNICHAR (61 ) RETURN SWITCH ( TRUE(), [Measure 1]<0, Down, [Measure 1]>0, Up&" ", [Measure 1]=0, Equal)
or create columns
Column 1 = SWITCH(Table2[Trend],"Up",1,"Down",-1,"Steady",0) Column 2 = VAR Down = UNICHAR (11167) VAR Up = UNICHAR (11165) VAR Equal = UNICHAR (61 ) RETURN SWITCH ( TRUE(), [Column 1]<0, Down, [Column 1]>0, Up&" ", [Column 1]=0, Equal)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous - That looks like it should work - can you provide a sample table or pbix?
Thanks,
Nathan
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 29 | |
| 20 | |
| 19 |