Forum Discussion
From to between fact tables
Hello people,
I would like some help perhaps with modeling, I can't find a solution
I would like to make a comparison from one table to another. For example,
- table A: ID 1, ID 2, ID 3, ID 4, ID 5
- table B: ID 1, ID 2
Result : (3) ID 3, ID 4, ID 5
Would I have to do this through some modeling or could I do it via DAX? How could I get this result?
My modeling
parry2k II think there was some detail missing that maybe I forgot because the value wasn't matching, so I used the following measurement and it worked.
COUNTROWS(FILTER(_ccvs, NOT tableA[id] IN VALUES(tableA[id])))
Thanks so much
8 Replies
- kasife
Helper V
parry2kI would like to see in table A the IDs that we did not find in table B. The logic is like this: My table A is a product reservation table and my table B is sales. So I want to know in my product reservation table what is not yet sold. I need to disregard what is on the sales table and only keep what is reserved