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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
tonk
Frequent Visitor

Power BI Conditional formatting - not working while using "Show Items with no data"

Hi All,

 

I applied conditional formatting to several fields and it works fine until I pick up another field from a joined table.

Example:  Conditional formatting to item works fine.

TableTable

 

After I join one more table and picking tracking number in report view, some items cannot be highlighted if I selected "Show items with no data".

Table 2Table 2

 

Do you know how to solve this issue so that conditional formatting can also applied to those items without tracking number?

 

My case is similar to this Solved: Conditional Formatting Bug - Microsoft Fabric Community.

But my field "Tracking number" is text.

6 REPLIES 6
tonk
Frequent Visitor

I tried to follow your formula  But I got the following message when I moved the measure to the table.

 

Power BI - error message.JPG

This error is due to per query limits in your desktop. Please remove those limits and try again. And to avoid such error, you can limit the data and optimize your query.

I tried to remove the limits.  However the output shows a few duplicated item A and the new column is empty.  It seems that the following formula cannot be applied to my table.

 

TrackingNumber = COALESCE(Max('Table'[TrackingNumber]), "")

@tonk 
Can you share the sample pbix file?

Please let me check my data first.  May be this is due to duplicate records that I cannot create one-to-many / many-to-one properly.  Thank you!

tharunkumarRTK
Super User
Super User

@tonk 

you can create measures for text fields as well. for example for youe example you write your meassue like this

TrackingNumber = COALESCE(Max('Table'[TrackingNumber]), "")

 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors