Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
We have developed a piece of DAX code to get (lookup) dates from another table and populate in current table...
screenshot below for reference.....
Can we do something similar in Power Query while loading data using Data Flow ?
Any guidelines or pointers in the right dierction would be much appreciated.
Thanks
Hi @powerbiAG
You can refer to the following example
Sample fact table
Sample lookup table
To find the min date of the ID, then add it to the fact table.
Create a new custom clumn in fact table in power query
Table.AddColumn(#"Changed Type", "Custom", each Table.Sort(Table.SelectRows(Table , (x)=> x[Column1]=[Column1] ),{"Column2"})[Column2]{0} )
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.