Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am not able to get rid off this issue.
I have a column containings 0,1,2 and i need to construct another column giving the text "Completed" once the value is 2 and "NotCompleted"otherwise.
Al my formulas give me no value, I cannot find the error, can you help me?
The formula is
Column=IF(Table1[Value]=2,"Complete","NotComplete") whatever would be the Table1[Value]
See picture attached...
Solved! Go to Solution.
NEWS..
I've try to simply close and reopen the report and now it's works!
Hello @giroldoale ,
what is the data type of the column - TetsOPCompIDynamic?
It should work if it is set as whole number.
Hi, It's a "Whole Number"
Is it possible for you to share your pbix file, removing all the sensitive data?
NEWS..
I've try to simply close and reopen the report and now it's works!
@giroldoale - Can you tell me what is the data type of TestopCompIDDynamic column (Sorry for wrongly typing this column name) ? If it is Text so just update your DAX like below:
Column = IF(Table[TestopCompIDDynamic] = "2","Completed","Not Completed")
Hi, It's a "Whole Number"
Hi @giroldoale
Can you provide some sample data in a format we can copy (not a picture)? What is your current code, M code?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |