The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi everyone
I would like to create 2 new columns from "success" and "failure
One column with "success" only
One column with "failure" only
@pro_x ,
In M
Success Column = if Table[Status] = "Success" then "Success"
Failure Column = if Table[Status] <> "Success" then "Failure"
or
Failure Column = if Table[Status] = "Failure" then "Failure"
in DAX
Success Column =IF(Table[Status] = "Success", "Success", BLANK())
Failure Column =IF(Table[Status] <> "Success"", "Failure", BLANK())
Hi @pro_x ,
Create 2 columns
Column Success=
IF(Table[Status] = "Success", "Success", BLANK())
Column Fail=
IF(Table[Status] = "Failure", "Failure", BLANK())
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |