Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |