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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Super User
Super User

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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