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 Awesome people
I am wondering if it is possible to have different values for conditional formatting depending on date?
I have a report showing SLA of incoming calls. Until February 2020 the SLA has always been 90/20, meaning we should answer 90% of all calls within 20 seconds.
Since March 2020 however the SLA was lowered to 80/20.
So I am trying to figure out if there is any way to format a matrix or table if as an example, on January 2020 we had 89% result it would show a red number/background, while in March the same 89% would show green number/background
So this would be correct for February
While if I chose March all ASA numbers above 80% should be showns as green
Solved! Go to Solution.
Hi @VegarOyfoss ,
Modify your measure as below:
Color = if(SELECTEDVALUE('Calendar'[MonthYear]) <="February 2020" && AVERAGEX('calls',Calls[ASA])<0.8
,"red",if(SELECTEDVALUE('Calendar'[MonthYear])>="March 2020","lightgreen","yellow"))
Hi @VegarOyfoss ,
Is your issue solved?If it is solved ,can you mark the reply as answered to close it?
@VegarOyfoss , Create a color measure like this using Date, measures
Color = if(FIRSTNONBLANK('Date'[Year],2014) <=2016 && AVERAGE(Sales[Sales Amount])<170
,"lightgreen",if(FIRSTNONBLANK('Date'[Year],2014)>2018,"red","yellow"))
Then use the same in conditional formatting under advance control, Choose field and this measure
Refer: https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
@amitchandak
I am trying to icorporate this to my model. The ASA is calculated with a meassure as below:
Hi @VegarOyfoss ,
Modify your measure as below:
Color = if(SELECTEDVALUE('Calendar'[MonthYear]) <="February 2020" && AVERAGEX('calls',Calls[ASA])<0.8
,"red",if(SELECTEDVALUE('Calendar'[MonthYear])>="March 2020","lightgreen","yellow"))
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |