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,
I would like to create a summarize table that basically summarize info from two tables.
For example :
Table A
Date | Sale |
1/1/2024 | 10 |
1/1/2024 | 20 |
2/1/2024 | 30 |
Table B
Date | Cost |
1/1/2024 | 5 |
1/1/2024 | 10 |
2/1/2024 | 15 |
Date table
1/1/2024 |
2/1/2024 |
3/1/2024 |
4/1/2024 |
so obviously table A and table B are not directly connected but are connected to the same Date table. I'm looking to create a summarize table as below :
Summarized table :
Date ( from date table ) | Sale (from table A) | Cost (from table B) |
1/1/2024 | 30 | 15 |
2/1/2024 | 30 | 15 |
Solved! Go to Solution.
hello @velvetine_123
please check if this accomodate your need.
Summarize =
SUMMARIZE(
'Date',
'Date'[Date],
"Sale Tbl A",
SUM('Table A'[Sale]),
"Cost Tbl B",
SUM('Table B'[Cost])
)
Hope this will help you.
Thank you.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new table.
SUMMARIZECOLUMNS function (DAX) - DAX | Microsoft Learn
expected result table =
SUMMARIZECOLUMNS (
'Date'[Date],
"Sales", SUM ( 'Table A'[Sale] ),
"Cost", SUM ( 'Table B'[Cost] )
)
hello @velvetine_123
please check if this accomodate your need.
Summarize =
SUMMARIZE(
'Date',
'Date'[Date],
"Sale Tbl A",
SUM('Table A'[Sale]),
"Cost Tbl B",
SUM('Table B'[Cost])
)
Hope this will help you.
Thank you.
thank you so much this is what i'm looking for !
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 |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
12 | |
9 | |
9 |