Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Add plus in the KPI

Hello,

I've created custom KPI from card using this formula

 

Delta arrow =
VAR Red = UNICHAR(9660)
VAR Green = UNICHAR(9650)
return
if( [X Diff]>0, Green, (Red))
 
plus conditional formatting flag
 
Delta Condition MTTR =
if( [X Diff]>0, 1,0 ) - 0 is red 1 is green

However I'd like to add "+" or "-" to the Delta Arrow so if arrow is down then value which show change (Current vs Last Month) is with "-", if above 0 then is with "+" 


Any suggestions how to add it?
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Pbiuserr 

 

Measure:

Delta arrow = 
VAR Red = UNICHAR(9660)
VAR Green = UNICHAR(9650)
return
if(SELECTEDVALUE('Table'[X Diff])>0, "+"&Green, "-"&Red)
Delta Condition MTTR = 
IF(SELECTEDVALUE('Table'[X Diff])>0,"Green","Red")

In the Conditional Format pane, set the format of the color to Delta Condition MTTR.

vzhangti_2-1645509429781.png

vzhangti_3-1645509528003.pngvzhangti_4-1645509538893.png

Is this the output you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Pbiuserr 

 

Measure:

Delta arrow = 
VAR Red = UNICHAR(9660)
VAR Green = UNICHAR(9650)
return
if(SELECTEDVALUE('Table'[X Diff])>0, "+"&Green, "-"&Red)
Delta Condition MTTR = 
IF(SELECTEDVALUE('Table'[X Diff])>0,"Green","Red")

In the Conditional Format pane, set the format of the color to Delta Condition MTTR.

vzhangti_2-1645509429781.png

vzhangti_3-1645509528003.pngvzhangti_4-1645509538893.png

Is this the output you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

KerKol
Power Participant
Power Participant

I pretty sure I haven't understood your question...
 
Delta arrow =
VAR Red = UNICHAR(9660)
VAR Green = UNICHAR(9650)
return
if[X Diff]>0Green & "+", Red & "-")




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.