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!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |