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
Thanks for your explanation, did you get an error when creating column? Actually there is always an error when I create a column like that, it says parameter is not the correct type
Anonymous
3 years agoNot applicable
Hi Anonymous ,
You should create calculated columns and measures on the fact table, as shown in my picture.
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.