Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts
Getting and error with my IF (AND( dax measure and cannot see what i have done wrong?
Solved! Go to Solution.
Hi @Anonymous ,
Try this:-
Oder Type (new) =
SWITCH (
TRUE (),
AND ( NEWBI_COMPS[Order Type] = "Maintenance", NEWBI_COMPS[Renewal] = "True" ), "Renewal",
AND ( NEWBI_COMPS[Order Type] = "Maintenance", NEWBI_COMPS[Renewal] = "False" ), "New",
NEWBI_COMPS[Order Type]
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous ,
Try this:-
Oder Type (new) =
SWITCH (
TRUE (),
AND ( NEWBI_COMPS[Order Type] = "Maintenance", NEWBI_COMPS[Renewal] = "True" ), "Renewal",
AND ( NEWBI_COMPS[Order Type] = "Maintenance", NEWBI_COMPS[Renewal] = "False" ), "New",
NEWBI_COMPS[Order Type]
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!