Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello, I created shape:
LineColor = IF(VALUE('All data with group speciality'[Percentage Difference] > 0), "#0DF305", "#FF0000")
My next step was select shape -> Format Shape -> Style -> Fill -> fx -> Format style: field value -> What field should we base this on: LineColor
I am getting this issue:
How can I solve this issue, please?
Solved! Go to Solution.
Hi @alks_skla_f ,
I created a situation just like yours.
Then I think you can change your DAX code.
LineColor =
IF (
VALUE ( 'All data with group speciality'[Percentage Difference] ) > 0,
"#0DF305",
"#FF0000"
)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @alks_skla_f ,
I created a situation just like yours.
Then I think you can change your DAX code.
LineColor =
IF (
VALUE ( 'All data with group speciality'[Percentage Difference] ) > 0,
"#0DF305",
"#FF0000"
)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @alks_skla_f ,
here is a fix that can work. LineColor = IF('All data with group speciality'[Percentage Difference] > 0, "#0DF305", "#FF0000")😊
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |