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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Automatic conditional formatting tables

Hello!

The general question: Is it possible to automatically fomat tables (like highlight certain values) based on a different table's value? 

The problem: We did this in Excel (and Power BI might not be an easier solution for this). So we sample the groundwater through different wells (first column), in different dates (third column). We analyze it in laboratories for different components (second row). So we have individual value for each component in each well at different dates. Each component have different (or none) limits (third and fourth row), and when a value exceeds that, it's highlighted. That's what the table shows below. 

 

sampletable.JPG
I get these data from time to time (after samplings) and get the results from the laboratory at different tables corresponding to the time --> and then I copy them here and format them. 

The specific question: is there a way to automatically create and format a table like this in Power BI?
My idea would be to create seperate tables for the limits and the values - and then link them together, create a third table and format that that based on the other. But I can't figure that out. Maybe it is not even possible in Power BI and I might have to work in Excel in the future as well. But I still would like to give it a try. 

Any suggestions?

Thank you in advance!
Domokos


Ps.: I am a geologist/hydrogeologist anyway, and I know P BI was not originally made for us, but it would be still awesome to use it. 


1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , The format which you have given is not possible with the standard matrix. In conditional formatting, you have three options scale, rule, and field value. Scale is kind of automatic based on range.

 

you can check those here

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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