Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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.
User | Count |
---|---|
80 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
97 | |
88 | |
81 | |
61 |