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 new to PowerBI and just joined this community so hi everyone!!
I'm looking to create a column which has 1 in if there is a date in the previous column and 0 if the cell is empty (ie no date). Is there a formula to do this?
Many thanks,
Vicky
Solved! Go to Solution.
Hi @Anonymous ,
You can new a calculated column with a formula similar to below:
New Column = IF ( TableName[PreviousColumnName] <> BLANK (), 1, 0 )
Best regards,
Yuliana Gu
Hi @Anonymous ,
You can new a calculated column with a formula similar to below:
New Column = IF ( TableName[PreviousColumnName] <> BLANK (), 1, 0 )
Best regards,
Yuliana Gu
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |