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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PaulTim
Frequent Visitor

Aggregation accross tables

Dear all,

 

I have a huge Data Model with 30 Tables linked via Keys (Hash-values) to a fact table. The fact table only contains the keys and no additional data and is therefore hidden. Transactial Data e.g. the values are part of an dimension same as master data tables.

 

It looks a bit like that 

 

Table FACT:

ID_A

ID_B

ID_C

 

Table A:

ID_A

Info_1

Info_2

Info_3

 

Table B:

ID_B

Info_4

Value_1

Value_2

 

Table C:
ID_C

Info_5

Info_6

 

We are having multiple hunderets of million of rows. Right now the data model is setup as DirectQuerry since import is not possible.

I was thinking of Aggregation but was not able to build something like that:

 

AggTable D via SQL Import:

Info_1

Info_5

SUM(VALUE_1)

 

Unfortunately I am not able to link Info_1 from Table1 with the AggTable due to an N:M relationship. Any Idea if on how to solve that?

1 REPLY 1
lbendlin
Super User
Super User

The fact table only contains the keys and no additional data and is therefore hidden. Transactial Data e.g. the values are part of an dimension 

that's not how these data models work.  The values must be taken from the fact table.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.