Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
66 | |
45 | |
44 | |
40 |