The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Team,
I have a measure created which shows the a date with some logic, I need that measure back ground clr to be changed when it greater than today and I have a column called status in a table, when that status is not equal to completed.
In simple words,
Greater then the mesaure and status is not equal to complted.
Regards,
Rakesh
Solved! Go to Solution.
Hi @Anonymous
You need to write a measure with required condition and use it in conditional formatting. Follow below steps:-
1. Create a measure with below code
Format_backgound =
IF (
AND (
[your_measure] > TODAY (),
MAX ( table[status] ) <> "completed"
),
"red" //you can write any color name which to show if above condition met.
)
2. Now in format section go conditional formatting and slide on background color
3. Once you click on background color you will see below screen then select our formatting measure in it and click ok.
4. You will see below output:-
Thank you,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous
You need to write a measure with required condition and use it in conditional formatting. Follow below steps:-
1. Create a measure with below code
Format_backgound =
IF (
AND (
[your_measure] > TODAY (),
MAX ( table[status] ) <> "completed"
),
"red" //you can write any color name which to show if above condition met.
)
2. Now in format section go conditional formatting and slide on background color
3. Once you click on background color you will see below screen then select our formatting measure in it and click ok.
4. You will see below output:-
Thank you,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
@Anonymous , is that column in the context? if yes, you can create color measure and use that in conditional formatting using field value option
if(Max(date[date]) <today(), "red", "green")