Would you expect that application of those criteria would always result in a single unique record, or could there be more than one record meeting those criteria?
Answer will guide whether to create a measure or a calculated table or table variable.
It’s a bit difficult to provide a specific answer without seeing a PBIX with your data model, but I would suspect that something close to this should work
Hi @hatsilva, we’ve noticed that no response has been received from you since October 20.
We just want to check if you still need further help with this post? In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved.
Good morning All,
Apologies in particular to @BrianJ for not getting back sooner, but I had to travel abroad on a short notice due to family matters.
I did not have the time to test the solution and will hopefully be doing so early next week with feedback to follow.
Many thanks and apologies again.
Hugo