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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
NoelGrieve
Frequent Visitor

Compliance Check on EmpNo

Hi Everyone, 

 

I am a little stuck, I am sure it is something really simple, I just cannot figure it out or I am trying to overcomplicate it. Hope you can help.

 

I have an Employeetable with Empno. and their Start date which is my Dim table, I then have another system to measure onboarding completed and date with their Empno. (the fact table). All I need to do is check whether the record exists in the fact table. What is the best way to do this? I am stuck in the excel vlookup thinking.

 

I have done a merge in Power Query but I do not think this is the right way?

 

Thanks!

 

 

 

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

You can so it using lookupvalue or maxx in this case

 

New column in Employee1

Onboarding= maxx(filter(onboarding,onboarding[Emp ID] = emp[Emp ID] ),onboarding[onboarding Date])

 

Other examples

New column in Table 1 = maxx(filter(table2,table1[customer] = table2[customer] && table2[option]="construction",table2[value])

New column in Table 1 = maxx(filter(table2,table1[Attribute] = table2[name] && table1[project] = table2[project]),table2[name])

 

https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
new Column =
LOOKUPVALUE('Shops Products'[Lot No.], 'Shops Products'[Entry Type], "Output", 'Shops Products'[Document No.], firstnonbank('Shops Products'[Document No.],true()))

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

View solution in original post

harshnathani
Community Champion
Community Champion

Hi @NoelGrieve,

 

You can also try the below function to Create a Table:

 

Table = Filter(NATURALINNERJOIN('Employee Table','Onboarding Table'),'Employee Table'[Employee No] = 'Onboarding Table'[Emp ID ])
 
123.JPG124.JPG125.JPG
 
Thanks,
Harsh Nathani
 
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @NoelGrieve ,

 

Is this problem solved?

 

 

Best Regards,

Icey

Thank you! I will give both options a shot, but I am sure both will work!

 

Thanks again!

harshnathani
Community Champion
Community Champion

Hi @NoelGrieve,

 

You can also try the below function to Create a Table:

 

Table = Filter(NATURALINNERJOIN('Employee Table','Onboarding Table'),'Employee Table'[Employee No] = 'Onboarding Table'[Emp ID ])
 
123.JPG124.JPG125.JPG
 
Thanks,
Harsh Nathani
 
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!
amitchandak
Super User
Super User

You can so it using lookupvalue or maxx in this case

 

New column in Employee1

Onboarding= maxx(filter(onboarding,onboarding[Emp ID] = emp[Emp ID] ),onboarding[onboarding Date])

 

Other examples

New column in Table 1 = maxx(filter(table2,table1[customer] = table2[customer] && table2[option]="construction",table2[value])

New column in Table 1 = maxx(filter(table2,table1[Attribute] = table2[name] && table1[project] = table2[project]),table2[name])

 

https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
new Column =
LOOKUPVALUE('Shops Products'[Lot No.], 'Shops Products'[Entry Type], "Output", 'Shops Products'[Document No.], firstnonbank('Shops Products'[Document No.],true()))

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
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.