Forum Discussion
Anonymous
3 years agoNot applicable
lookup values from another table, if values exist in another table, return 1 to get the filter show
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...
- 3 years ago
Hi Anonymous
You may try this measure
Measure = var __values = VALUES('Fact'[region]) return IF(SELECTEDVALUE('Dimension'[region]) IN __values, 1, 0)Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Anonymous
3 years agoNot applicable
This measure has error: the function countx cannot work with values of type boolean
MAwwad
Solution Sage
3 years agoTry changing the data types ? or use "1" and "0" instead of 1 and 0
- Anonymous3 years agoNot applicable
Thanks, I tried and it still has the same error