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! It's time to submit your entry. Live now!
hi Doctors of Power BI 🙂
first of all i would like thanks for your kind supports to us
I need a support as below thanks in advance
i have table on power bi , i have delivery date and and request date , i would like to create a new column which is calling new delivery date as on right of table , but i need to create this column on query editor
rule will be like that
if request date is full then use request date , if request date is empty then use delivery date
also i would like to learn one more thing at the same taie pls : infact on power bi desktop i can use below formula and solve the problem but below formula i can not use in the query , i think query formula style and desktop formula style is different
Solved! Go to Solution.
#"Added Conditional Column" = Table.AddColumn(#"Changed Type", "Custom", each if [Request Date] = "" then [Delivery Date] else [Request Date])
HI @erhan_79 ,
The formula what you have got is a DAX expression.
Query editor uses another language called M-query.
You can write following formula in Query editor:
if([Request date ] = null) then [Delivery date] else [Request date])
Go to Query editor --> Under ADD COLUMN on the to ribbon, select CUSTOM COLUMN
A window appears and paste the above formula there. Don't forget to name your new column.
Thanks,
Pragati
dear @Pragati11
thanks for your reply but i tried your formula as below but it gives error
do i something wrong could you pls check
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 150 | |
| 107 | |
| 64 | |
| 36 | |
| 36 |