Forum Discussion
Complex table filter within a measure
Hi robbielambert ,
Have you tried creating relationship between these 2 tables on "Customer" and then try performing the 3 steps?
Also, can you share the DAX or calculation you are using for the 3 steps you mentioned?
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Hi Pragati11,
Thanks for getting in touch.
I have a join on customer between the two tables as you describe. It is then the step of defining which customers are in a specific category on a given date that is where i am failing.
The approach I have taken is to create a table variable which filters for the accounts in a specifc category on a specific date, and then try to filter the transactions table using the list I have created. However, I cannot seem to restrict the transactions table by the table variable I have created. I'm sure there must be an easier way!!
Here is my DAX: