Forum Discussion
Power Query Add Custom Column with multiple criteria lookup from other table
- 11 months ago
All - I believe I was able to determine the solution thanks to all of your inputs. I also found the cyclical reference. It was a calculated column post-transform on the Finance Book table.
Ultimately, I was able to use the following code and the column was added as needed:
= Table.AddColumn(#"Changed Type", "Contract Year", (F) => Table.SelectRows( #"ACC_CC Mapping", (C) => C[Start Date] <= F[posting_date] and C[End Date] >= F[posting_date] ) )
Hi adentler,
Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to SundarRaj, MarkLaf, AmiraBedh, for those inputs on this thread.
Has your issue been resolved? If the response provided by the community member SundarRaj, MarkLaf, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Community Forum.
I am still working through the solutions provided and am happy to update this post once I have. I sencerely appreciate the time and effort @SundarRaj, @MarkLaf, @AmiraBedh, have provided to help me resolve me issue.