Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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!
Solved! Go to Solution.
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()))
Hi @NoelGrieve,
You can also try the below function to Create a Table:
Thank you! I will give both options a shot, but I am sure both will work!
Thanks again!
Hi @NoelGrieve,
You can also try the below function to Create a Table:
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()))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
101 | |
66 | |
48 | |
39 | |
34 |
User | Count |
---|---|
166 | |
112 | |
60 | |
56 | |
37 |