Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ajeck
Helper III
Helper III

Compile from Each Table becomes one Report

Dear All,

 

Could some one help me please,

I have 3 amount Sales tables from Each City, and I want to make output as One Table as National Sales Amount here 

compile all sales.png

Here is the PBIX file :  https://ptaab-my.sharepoint.com/:u:/g/personal/akristyonoputro_asuransiastra_com/EdNmrVSC7vRHiCCdjay... 

 

Thankyou for helping me,

 

Regards, 

 

AJi

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Ajeck , you can append the tree tables

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Anonymous
Not applicable

Hi @Ajeck ,

Please follow the below steps to achieve it, you can find all details in this updated file.

1. Create a summary table with different score codes

create summary table.JPG

2. Create 3 measures and 1 calculated column to get the sum sales per sales code

Jakarta = SUM('Jakarta'[Sales Amount])
Semarang = SUM('Smrg'[Sales Amount])
Surabaya = SUM('Surabaya'[Sales Amount])
Sales Amount = SWITCH('Summary Table'[Sales Code],"Jakarta",[Jakarta],"Semarang",[Semarang],"Surabaya",[Surabaya])

3. Drag the field "Sales Code" of table Summary Table and measure "Sales Amount" onto table visual

Compile from Each Table becomes one Report.JPG

In addition, you can achieve it in Power Query Editor. I just create another sample file, you can check the applied steps in it.

Note: It is better to download the latest version of Power BI Desktop in order to open these sample files successfully.

Best Regards

Rena

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Ajeck ,

Please follow the below steps to achieve it, you can find all details in this updated file.

1. Create a summary table with different score codes

create summary table.JPG

2. Create 3 measures and 1 calculated column to get the sum sales per sales code

Jakarta = SUM('Jakarta'[Sales Amount])
Semarang = SUM('Smrg'[Sales Amount])
Surabaya = SUM('Surabaya'[Sales Amount])
Sales Amount = SWITCH('Summary Table'[Sales Code],"Jakarta",[Jakarta],"Semarang",[Semarang],"Surabaya",[Surabaya])

3. Drag the field "Sales Code" of table Summary Table and measure "Sales Amount" onto table visual

Compile from Each Table becomes one Report.JPG

In addition, you can achieve it in Power Query Editor. I just create another sample file, you can check the applied steps in it.

Note: It is better to download the latest version of Power BI Desktop in order to open these sample files successfully.

Best Regards

Rena

amitchandak
Super User
Super User

@Ajeck , you can append the tree tables

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors