Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table that has numerous columns but I an trying to create a new column called work group where the issue type = "Initiative" and labels contains "Bank Name" and if both true "Bank Name" else "Not Bank Name"
Issue Type | Labels | Work Group (new Column) |
Initiative | [Bank; Q4; Data team] | Bank |
Story | [Bank; Q1; Docs] | Not Bank |
Initiative | [Market; Q4; Policy] | Not Bank |
Etc... |
You can try something like this:
WorkGroup = IF(AND(Planilha1[Issue Type]="Initiative",LEFT(Planilha1[Labels], FIND(";",Planilha1[Labels])-1)="[Bank"),"Bank","Not bank")
With this I have achieved the same result that you want.
it looks like you need to create conditional column.
#"Added Conditional Column" = Table.AddColumn(#"Changed Type", "WorkGroup", each if Text.Contains([Issue Type], "Initiative") and Text.Contains([Labels], "Bank") then "Bank" else "Not Bank")
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |