March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I need to format the rows to highlight SQEP like in the example below;
Where role is SRO or Programme Manager and Status is Completed then 'green', if status is blank then 'red'.
Any help is really appreciated.
Solved! Go to Solution.
Hi , @Matt_W2022
According to your description, you want to "Colour/highlight a row based on multiple criteria".
Here are the steps you can refer to:
(1)This is my test data :
(2)We can create a measure :
Measure = var _role =SELECTEDVALUE('Table'[Role])
var _status = SELECTEDVALUE('Table'[MPLA Status])
return
IF(_role in {"SRO","Programme Manager"} && _status="Completed" , "green", "red")
(3)Then we can configure the measure on the table field :
We can click the "fx" icon to configure it:
If you want to show color in a row, you need to configure the measure for all the fileds:
(4)The result is as follows:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Matt_W2022
According to your description, you want to "Colour/highlight a row based on multiple criteria".
Here are the steps you can refer to:
(1)This is my test data :
(2)We can create a measure :
Measure = var _role =SELECTEDVALUE('Table'[Role])
var _status = SELECTEDVALUE('Table'[MPLA Status])
return
IF(_role in {"SRO","Programme Manager"} && _status="Completed" , "green", "red")
(3)Then we can configure the measure on the table field :
We can click the "fx" icon to configure it:
If you want to show color in a row, you need to configure the measure for all the fileds:
(4)The result is as follows:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for your help
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
12 | |
9 | |
7 |
User | Count |
---|---|
38 | |
32 | |
28 | |
12 | |
11 |