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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have the column SKU same in all the data sources, and I need add a table where I have SKU, Sell thru units, weeks, sell thru values. The key is SKU which is relating all the different data souces. Need the DAX for that table, do I use SUMX, Summarize or what?
Solved! Go to Solution.
Hi @realme1 ,
I created some data:
Table1 and Table2
Here are the steps you can follow:
1. Create calculated table.
Table =
SUMMARIZE(
'Table1','Table1'[SKU],'Table1'[Sell thru Units],'Table1'[Weeks],"Sell thru",
MAXX(
FILTER(ALL(Table2),'Table2'[SKU]=EARLIER('Table1'[SKU])),'Table2'[Sell thru]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @realme1 ,
I created some data:
Table1 and Table2
Here are the steps you can follow:
1. Create calculated table.
Table =
SUMMARIZE(
'Table1','Table1'[SKU],'Table1'[Sell thru Units],'Table1'[Weeks],"Sell thru",
MAXX(
FILTER(ALL(Table2),'Table2'[SKU]=EARLIER('Table1'[SKU])),'Table2'[Sell thru]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Will you be able to do this in DAX because I dont have access to power quesry because source is not mine
Hi,
you can do this in the Query Editor. Start-> Merge queries
After that you can do some calculations on the column, because you have all the data in one table.
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.