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")
Yes,
Thank you
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?
- Fatema1233 years agoFrequent Visitor
Hi adoalan!
You have to create the calculated column like this :-Valldata Fix = IF( gad.createdbyname = "Valldata" && ISBLANK(gad.nfp_declaredhouse) && ISBLANK(gad.nfp_declaredpostcode) && NOT(ISBLANK(c.adress1_line1)) && NOT(ISBLANK(RELATED(c.adress1_postalcode))), "Y", "N")
- adoalan3 years agoHelper III
I got up to here but still an error