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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
dcohare
Helper I
Helper I

Colour Coding in Table Based on Data That's In a Different Data Table

Hi -

 

I have two different data tables that are joined via a many-to-one relationship - "TimeData" and "HR HC".

 

In the HR HC data table, I have a field for whether or not an employee works at a site location, but that field is not in the TimeData data table. My question(s) are:

 

  1. Is there a way to bring the data from the HR HC data table into the TimeData table?

  2. If not, is there a formula that can be written that says basically "If X employee has 'YES' in the Site Location field, then colour that employee's name purple in the table on the dashboard?"

See here to see what I'm looking to do.

 

Thanks for your help!

 

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @dcohare 

 

If your tables are linked by a relationship you shouldn't need to bring data from one tabel to another.  You should just use that relationship to show the data you want in a visual.

Without actually seeing your data it's very hard to understand what it is you are trying to do.  Can you please supply some data and the result you want to see.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.