Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team ,
I need your help for one report which is having ,
Arrow(upward/Downward) Target YTD PYTD
The logic for arrow for ex. goal is in (goal 1,goal2 and goal3) and (YTD>PYTD ) is upward arrow with green color
and Red downward when goal is in (goal 1,goal2 and goal3) and (YTD<PYTD )
and for goal is in (goal 4,goal5 and goal6) and (YTD>PYTD ) is upward arrow with REd color and
Green down when goal is in (goal 4,goal5 and goal6) and (YTD<PYTD )
I have column Goal, YTD,PYTD, Arrow ,YTDvsPYTD all working fine but not able to define color code can you please help with creating Calculated column or Measure for having colored arrows.
I tried but not getting answer.Conditional color formating also not working as desired.
Regards,
Arundhati
Solved! Go to Solution.
@Anonymous , You can have measures like these
Arrow =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, UNICHAR(9650),
_change = 0, UNICHAR(9654),
_change < 0, UNICHAR(9660)
)
/////Arrow Color
Arrow color =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, "green",
_change = 0, "blue",
_change < 0, "red"
)
you can use color in conditional formatting with the field value option
UNICHAR Tool for Custom Icon Formatting: https://www.youtube.com/watch?v=veCtfP8IhbI&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=50
@Anonymous , You can have measures like these
Arrow =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, UNICHAR(9650),
_change = 0, UNICHAR(9654),
_change < 0, UNICHAR(9660)
)
/////Arrow Color
Arrow color =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, "green",
_change = 0, "blue",
_change < 0, "red"
)
you can use color in conditional formatting with the field value option
UNICHAR Tool for Custom Icon Formatting: https://www.youtube.com/watch?v=veCtfP8IhbI&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=50
Hi Amit,
Thanks for solution similar logic worked for me.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |