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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Guys,
I have two different tables SalesLineQTY and ScheduledQty.they are joined to common DATE table in a model.
I want to add ScheduleNeedQty and QtyOnSalesLine columns which will display the sum grouped by Item No_.
I tried using sum and simple "+" but not getting required output as column from other table does not populate in DAX editor.Bit confused with which expression to be used with SUMMARIZE function .
Any suggestion/help would be appreciated.
Hi DAX_Learner,
You may try dax formula below:
Temp_Table = SUMMARIZE ( SalesLineQTY, SalesLineQTY[No_], "QtyOnSalesLine", SUM ( SalesLineQTY[QtyOnSalesLine] ), "ScheduleNeedQty", SUM ( ScheduledQty[ScheduleNeedQty] ) )
Regards,
Jimmy Tao
Thank you for your suggestion @v-yuta-msft
Actually I want to add ScheduleNeedQty and QtyOnSalesLine columns (which belongs to different tables) and display the output as per Item_No grouping.
HI DAX_Learner,
You can use ADDCOLUMNS() instead, please refer to: https://msdn.microsoft.com/en-us/query-bi/dax/addcolumns-function-dax
Regards,
Jimmy Tao
Addcoulmn does not work.
Below is the BI model created.All the tables are connected using NO_ key (Removed Earlier relationship with General date table)
Need to add different columns from highlighetd tables to get values as per Item no.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
38 | |
30 | |
26 |
User | Count |
---|---|
99 | |
87 | |
45 | |
43 | |
35 |