Forum Discussion
Anonymous
3 years agoNot applicable
lookup values from another table
Hi, experts, I have two tables, dimension table and fact table, I created a filter use column from dimension table, but fact table may not exist some values in dimension table, and I need to make sur...
- Anonymous3 years ago
Hi Anonymous ,
(1) We can create a calculated column.
Column = IF('Fact Table'[region]=RELATED('Dimension table'[region]),1,0)(2)We can create a measure.
Measure = IF(SELECTEDVALUE('Fact Table'[Column])==BLANK(),0,1)(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi Anonymous ,
Please find the below solution.
Column = IF(Dim[Region]=RELATED('Fact'[REgion]),1,0)
Best Regards,
Shreya
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Anonymous
3 years agoNot applicable
I did not get the result use this column, there is aloway an error with RELATED function,
maybe because the data is imported?