This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi, I need some help;
I have 2 tables with a production date and both are linked with an ordernumber.
Now I would like to add a custom column;
If 'table1'[ordertype] = "open" THEN 'table1'[Productiondate] ELSE 'table2'[Productiondate]
Does anyone know what formula I should use?
Thanks in advance.
BR,
Jurgen
Solved! Go to Solution.
pls see the attachment below
Proud to be a Super User!
could you pls provide the sample data and expected output?
Proud to be a Super User!
Table1:
| Order | Ordertype | Productiondate |
| 1234 | Queue | 26-11-2022 |
| 2345 | Queue | 28-11-2022 |
| 3456 | Open | NULL |
| 4567 | Queue | 30-11-2022 |
| 5678 | Open | NULL |
Table2:
| Order | Productiondate |
| 3456 | 29-11-2022 |
| 5678 | 30-11-2022 |
Both NULL records in 1st table should be filled with the Productiondate from the 2nd table.
pls see the attachment below
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |