Forum Discussion
Cross valiadation between two tables
- Anonymous2 years ago
Hi liapimentaa ,
If you need to check the upper and lower case of a word's letters, try a merge query in Power query:then crate a new measure like:
Measure = IF(ISBLANK(COUNT(Table1[Column1.1])),"yellow")and use it as a background condition:
If you don't need to check the case of letters, you can try this one:Measure = VAR _cur_value = SELECTEDVALUE('Table1'[Column1]) VAR _count = CALCULATE(COUNTROWS('Table2'),'Table2'[Column1]=_cur_value) VAR _result = IF(ISBLANK(_count),"yellow") RETURN _resultBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hi liapimentaa ,
If you need to check the upper and lower case of a word's letters, try a merge query in Power query:
then crate a new measure like:
Measure = IF(ISBLANK(COUNT(Table1[Column1.1])),"yellow")
and use it as a background condition:
If you don't need to check the case of letters, you can try this one:
Measure =
VAR _cur_value = SELECTEDVALUE('Table1'[Column1])
VAR _count = CALCULATE(COUNTROWS('Table2'),'Table2'[Column1]=_cur_value)
VAR _result = IF(ISBLANK(_count),"yellow")
RETURN
_result
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group