Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi There,
I am having asn issue while creating conditional formatting.
I have one column which is Service Level (%) and having values in % along with that i have criteria based on LOB'S present in my data.
I am struggling to apply conditional formatting . Can anyone help me in acheving below requirement :
So I need Conditional formatting in Serivce Level columns based on Conditions given .
Request to please help me in achieving this .
Regards,
Ash
@amitchandak @Ashish_Mathur
Solved! Go to Solution.
Create a measure in your table and use that for formatting:
Then assign this to your field formatting:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
(lob = "D" || si in {"d(I)",d(ii)}) && ser > 60
Need the brackets so they happen at the same time.
Assuming its Lob = D OR Si = "d(i)" if it is AND use &&
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Create a measure in your table and use that for formatting:
Then assign this to your field formatting:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @SamWiseOwl
I also need to add two more conditions which is in different columns .
Can you tell what should i modify in this?
Thanks,
Ashish
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Thank you @SamWiseOwl
Just forget to add D aslo has SI level d(i) and d(II) . So can i add like this ;
(lob = "D" || si in {"d(I)",d(ii)}) && ser > 60
Need the brackets so they happen at the same time.
Assuming its Lob = D OR Si = "d(i)" if it is AND use &&
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @ashicool_10061
These might be helpful.
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
https://www.youtube.com/watch?v=m0h3Ghl6mgY
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!
Hi @ashicool_10061 ,
You could do this by creating a new calculated column that captures your criteria ( using SWITCH and IF statements) and returns the corresponding hex color code. Then you can use this calculated column to drive the conditional formatting of the service level column.
I hope this helps!
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
38 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
44 | |
39 | |
35 |