Forum Discussion
Conditional formatting
- 2 years ago
hi, Anonymous
follow below step
make mesure for outcomeformatting =var target = 500var clo = SUMX(condifo,condifo[closedpoint])var a = DIVIDE(clo,target)*31var b =7var final = DIVIDE(a,b)return finalcreate mesure for rules for conditional formattingrules = SWITCH(TRUE(),condifo[formatting]<0.5,"#FF0000",condifo[formatting]<0.7,"#FFFF00",condifo[formatting]<0.9,"#FFA500",condifo[formatting]<1,"#90EE90",condifo[formatting]>1.2,"#00FF00")create table visuals or you can change if another neededgo to formatting measure > select conditional formatting > select background color
select feild value
press ok
you get theseIf this post helps, then please consider Accepting it as the solution to help the other members find it more quickly. Appreciate your kudos.
hi, Anonymous
select your matrix visual got to visuals formatting apne and select cell element and enble background color like below
select fx it open conditional formatting pane here change format style to rule , and what field should we base this on select your your column using your table name.
and put your rules in condition like below
after these your matrix look like
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi Dangar332
Thank you for your response. I tried the option you provided & it works well for static rule.
However, in our scenario, this rule values needs to be changed everyday as the target for the day changes as **Target = 100/31 days multiplied by today***.
Please advise a best way to achieve this 🙂
Kudos
- Dangar3322 years agoResident Rockstar
hi, Anonymous
provide sample data and what you want.