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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.