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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
AnatoliBagrov
New Member

Merge region data

Hello! First, sorry for my English) I wil use pictures. I have a data by cities and regions, but they are together:Main tableMain table

I want to see the cities data added into the corresponding region rows. For example, like the Trenton inside the New Jersey,

I founded three tables with cities, regions and countries:

DrlMjgBhv5NJkm

Also I have made some transform:

replace the short "обл." by full "область"replace the short "обл." by full "область"

It gives me a chance to satisfy my need.

Next I connected the main table to city table:

82Q4vBLFj6nRxm

Then I try to configure my table view:

4AkEjgliyb3BYm

As a result:

8238VdvhJMvp8A

And if I scroll:

8AnNjEbfjX3VaA

How can I see the "Архангельская обл." (I already fixed it) "Архангельская область" data in one row with sum=118791+384786+47289+18217+121382 ?

 

 

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@AnatoliBagrov

 

In this scenario, you have fact data on both region level and city level. You need to build a "parent-child hierarchy" for REGION-CITY so that you can aggregate region itself and its child level together. Please refer to blog below:

 

Parent-Child Hierarchies

 

Regards,

Thanks for the answer. I read it fluently and I have a question. Analogy with parents is good. If we speak in terms of sales, in my situation children and their parents sell both. And i have the situation:

KAgJjgBS4joV02

 

(Oops! At the screen I should write Bill: 10+1+4+2+1)

Will I reach this goal using parent-child hierarchies?

If yes, I'll study this in more detail.

 

@AnatoliBagrov

 

Yes, you are correct. The aggregation for parent level will include themselves. If the parent level has fact data, it will appear along with child members as well. Like the last image in that link:

 

Capture.PNG

 

You should build the  Parent-Child hierarchy for your scenario.

 

Regards,

 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.