Forum Discussion
AllanBerces
1 year agoPost Prodigy
IF with Multiple Condition
Hi Good day, Can anyone pls need assistance on how can i get the result i need. - The Period should equal to Q1 - The Location is under EAST and SOUTH only - For SOUTH Location, the Priority s...
- 1 year ago
Hello AllanBerces ,
Please try following DAX formula in calculated column and please let me know if you face any issues.
RESULT = IF ( [Period] = "Q1", IF ( [Location] = "EAST" || ( [Location] = "SOUTH" && SEARCH ( "1", [Priority], 1, BLANK () ) = 1 ), [Project/Mntc], "EXCLUDED" ), "EXCLUDED" ) - 1 year ago
AllanBerces Create a new column to determine if the row meets the conditions
DAXResult =IF ('Table'[Period] = "Q1" &&('Table'[Location] = "EAST" ||('Table'[Location] = "SOUTH" &&LEFT('Table'[Priority], 1) = "1")),'Table'[Project/Mntc],"Excluded")
rajulshah
1 year agoResident Rockstar
Hello AllanBerces ,
Please try following DAX formula in calculated column and please let me know if you face any issues.
RESULT =
IF (
[Period] = "Q1",
IF (
[Location] = "EAST"
|| (
[Location] = "SOUTH"
&& SEARCH ( "1", [Priority], 1, BLANK () ) = 1
),
[Project/Mntc],
"EXCLUDED"
),
"EXCLUDED"
)