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 All,
Running into a few road blocks here. Normally I'm a lookupvalue pro, but for some reason I am struggling.
I have two unrelated tables: Hires and Terms
On the hires table I want to create a lookup logic/measure to see if the new hire also shows up on the term table because they could have been a "no start" and if so, return a value of "Termed", otherwise "Active". The reason why I need this is we only pull hires once a week and terms daily (I know, stupid) and we want to get a hold on who already termed.
Sample data:
Active Table
EE ID | Name | Title |
1234 | Claus, Stanta | Cheery Man |
2345 | Snowman, Frosty | Wintery Dude |
Term Table
EE ID | Name | Title | Term Date |
1234 | Claus, Stanta | Cheery Man | 12/26/2018 |
4564 | Hog, Ground | Winter Screwup | 2/3/2019 |
End Result (Would want to show on Active table)
EE ID | Name | Title | Status |
1234 | Claus, Stanta | Cheery Man | Termed |
2345 | Snowman, Frosty | Wintery Dude | Active |
Many thanks!!
Solved! Go to Solution.
@Anonymous you can use lookupvalue function to see if value exists in term table or not and based on that you can create status column
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous you can use lookupvalue function to see if value exists in term table or not and based on that you can create status column
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k That's what I was trying to do, but could not get anything to work properly because the tables are not related and cannot be related.
@Anonymous lookupvalue function doesn't need related table, it can work without related tables.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I figured it out. It was a punctuation problem. Oops.
@Anonymous great so you used lookupvalue function, correct?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
52 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |