Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
Jamez0
New Member

Conditional Formatting background colour not working on all rows

Hi,

 

The title is self explanitary, see screenshot below.

 

I have tried this with other values, e.g. 'Production started' and the same issue occours. It's like it only works on particular rows. 

 

The values are formatted from Power Query in the background so there is no chance for typos or extra spaces or the likes. 

 

Jamez0_0-1718029837118.png

 

6 REPLIES 6
Kaviraj11
Super User
Super User

Thank you for the explanation but I don't think it's enough to provide the solution. 

 

Would you able to create a sample pbix file from any dataset or manual data entry and test the conditional formatting? If there's still an issue, you can share the file over and I can investigate.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi Kaviraj11,

 

I created a test report for you, however it worked perfectly in it, so i tried to find what the difference was between it and my orginal report when I spotted the pattern.

 

There is another table (Design Status) which has a null value linked to the same Job ID. The conditional formatting doesnt work on these rows which have a null value for some reason. See screenhsot below.

 

Would you have an idea how to reslove this?

 

I guess replace the null value with something else is the easy answer, but I would perfer it to be blank.

Jamez0_0-1718117131993.png

 

You could assign the blank value to 'N/A' or 'NV' which isn't a bad practice to have and will solve your problem for now. Are you using status column for Lookup table?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





There are three status columns in three seperate tables, design, print, production which all link back to a quotations table via JobID. The Overall Status also links back to the quotations table via JobID. These are pulled from SQLServer.

 

I have fixed the problem where if there is a null value in the respective status tables, it is replaced with 'none', but now I have the issue that there are a few other columns with blank cells as I have the table set to show items with no data which also causes the problem. See below screenshot. is there a way to simple replace all blnk cells in the table visualization rather than having to address the issue in the table view?

 

The conditional formatting should work regardless of there being blank cells. We shouldnt have to be creating workarounds. This seems like a bug.

 

Jamez0_0-1718121251914.png

 

Kaviraj11
Super User
Super User

Hi,

 

Could you share the pbix file? Will need more inputs to investigate the issues.

 

Solved: Table conditional formatting based on column not d... - Microsoft Fabric Community




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi Kaviraj11,

 

I cant share the pbix file but I can give you a bit more context of what I have tried that is similar to the link you provided.

 

The text in this column is created by an added conditional column in power query, so there is a number attached to each status from source. See below table structure.

Jamez0_0-1718093460520.png

I have even tried using this number to format the field with no sucess, see below screenshot.

Jamez0_1-1718093617156.png

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.