Forum Discussion
Anonymous
4 years agoNot applicable
Dax
Hello All,
I have a table with text and project name
| text | project name |
| Completed | S_enter |
| In-progress | S_enter |
| Accepted | S_enter |
| released to Prod | S_enter |
| being groomed | S_enter |
| defined | S_enter |
| null | M_Pay |
| defined | T_Core |
| Accepted | T_Core |
i have to create a Dax
Conditions are as below
if the project has any one the these text column values (Completed , in progress and released to prod ) then we have to keep it as Yes or else No
so my output should look like
| text | project name |
| YES | S_enter |
| NO | T_Core |
| YES | M_Pay |
Hi Anonymous
you can slice by project name and use
Check = IF ( ISEMPTY ( INTERSECT ( VALUES ( TableName[text] ), { "Completed", "in progress", "released to prod" } ) ), "No", "Yes" )
1 Reply
- tamerj1Community Champion
Hi Anonymous
you can slice by project name and use
Check = IF ( ISEMPTY ( INTERSECT ( VALUES ( TableName[text] ), { "Completed", "in progress", "released to prod" } ) ), "No", "Yes" )