Hi All,
I would like to change a label color based on a column value, could anyone guide with this please
Column 1 - Budget
Column 2 - Expense
As an example - the number 100 is just an example
If Budget is 100 and Expense is less then 100 i want the label color Green
If Budget is 100 and Expense is slightly over 100 for ex-120 i want the label color Yellow
If Budget is 100 and Expense is 130 and above i want the label color Red
In case if the above request is not achievable then please suggest how to change the color of the Expense value to Red is its greater than the Budget value.
Thanks for your time.
Solved! Go to Solution.
Hi @Jean_9681 ,
This should show you the colours
With(
{wVar: Expense - Budget},
If(
wVar <=0,
Green,
wVar < 30,
Yellow,
Red
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Jean_9681 ,
This should show you the colours
With(
{wVar: Expense - Budget},
If(
wVar <=0,
Green,
wVar < 30,
Yellow,
Red
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |