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

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.

Reply
Anonymous
Not applicable

Conditional formatting and show items with no data

conditional formatting errorconditional formatting errorHi everyone,

 

I am trying to create a composite model with an imported table, which stores the type of operation and the remaining days, and a comment table, containing the comments, which is obtained from direct query such to be updated in real time.  After creating the relations I tried to produce a table visualization. I want to highlight the data with conditional formatting based on the "remaining days" field. Unfortunately I am stuck with two issues:

  • If I do not show "items with no data" only the rows with a comment are shown (this is not what I need);
  • If I show also items with no data the conditional formatting stops working and all the rows without a comment are colored the same.

Have you got any idea (or workaround) on how to fix the conditional formatting? Can it be respected also for rows missing a comment or is there an alternative way to otbain what I need?

Thanks a lot.

1 REPLY 1
lbendlin
Super User
Super User

You cannot apply conditional formatting to things that aren't there.  You would need to create a cartesian product first and then apply the conditional formatting on that.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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