Forum Discussion
Case when in Power BI
- 3 years ago
adoalan you're missing two brackets "))" after "...Street1])" and after "...PostalCode])"
- 3 years ago
adoalan
You are missing the brackets :-Can you just try this :-
Valldata Fix = IF(nfp_giftaiddeclaration[cratedbyyominame] = "Valldata" && ISBLANK(nfp_giftaiddeclaration[House])
&& ISBLANK(nfp_giftaiddeclaration[Postcode]) && NOT(ISBLANK(RELATED(contact[Address 1: Street 1]))) && NOT(ISBLANK(RELATED(contact[Address 3: ZIP/Postal Code]))), "Y", "N")
JorgePinho this works half for me. So the c.address1_line1 is coming from a different table called contact and it is not popping up when search. Can you help here?
Are the tables connected?
- adoalan3 years agoHelper III
Yes,
Thank you
- JorgePinho3 years agoSolution Sage
Try to use RELATED function to bring that column value. https://learn.microsoft.com/en-us/dax/related-function-dax
- adoalan3 years agoHelper III
Jorge, not sure how to do that. CAn you give me an exmple?