Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |