Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
This question relates to the Power query in Excel.
Column "Lost" as shown in screenshot has either dates or blanks. I want to add a new column based on the column "lost" with the following conditions.
1. If there is any date in the column "Lost", the corresponding row in the new column should say "Lost."
2, If there is any cell with no data, the corresponding row in the new column shall say "New."
How can I achieve this?
Solved! Go to Solution.
You can eventually use bit more sofisticated formula, which evaluate data type:
Hi @mfaisalk ,
I used simple conditional column. Truth is, it does not consider data types, so it not might be the perfect solution. In case you have only dates or nulls, then following formula will solve your problem:
You can eventually use bit more sofisticated formula, which evaluate data type:
Thanks a lot, the first simple will work perfectly....as the data type is only date. As I have blank cells so, instead of null, I used blank as a condition. see screenshot
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
27 | |
12 | |
11 | |
11 | |
9 |
User | Count |
---|---|
53 | |
30 | |
15 | |
14 | |
13 |