Forum Discussion

Sarath5c8's avatar
Sarath5c8
Frequent Visitor
3 years ago

Need conditional Flag - Parent Child Relation

I'm looking a DAX column Flag that checks for this condition.

If Parent P1 is from IND then corresponding all the childrens for the Parent should be from same country. Any other country then it should be highlighted as Issue.

ParentCountryChildCountry_ChildFlag_Required
P1INDC1INDNo Issue
P1INDC2USIssue
P1INDC3INDNo Issue
P2USC4USNo Issue
P2USC5INDIssue
P3UKC6UKNo Issue

 

2 Replies

    • Sarath5c8's avatar
      Sarath5c8
      Frequent Visitor

      Technically first columns of parent details are present in different table and child table different with Parent id common in both tables.