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
Oleg_F
Frequent Visitor

Aggregation table in data model

Hi.

Is it possible to create aggregation table (in data model), to improve speed, if all tables, also fact table(source), are in import mode in Power BI, or fact table must be only in direct query mode? 

 

Case:

I have fact table (in import mode) that is detailed to product and I have created aggregation table (import mode) in Power Query with details to category, that reduce data size in 4 times, create necessary relationships...

Using "Precedence" I want that my query (from visuals) firstly goes to aggregation table, but in Manage aggregations, connection to fact table (summarization-detail table) is unavailable (data formats in both tables - same). 

 

Thank You.

 

1 ACCEPTED SOLUTION
Oleg_F
Frequent Visitor

After a long search in the internet and a lot of videos, I have only one conclusion - aggregation tables are used to enhance performance while you are working with DirectQuery mode.
The answer is:
- No, fact table(source) must be in DirectQuery mode.


Thanks everyone for help.

View solution in original post

5 REPLIES 5
Oleg_F
Frequent Visitor

After a long search in the internet and a lot of videos, I have only one conclusion - aggregation tables are used to enhance performance while you are working with DirectQuery mode.
The answer is:
- No, fact table(source) must be in DirectQuery mode.


Thanks everyone for help.

amitchandak
Super User
Super User

@Oleg_F ,

refer :https://docs.microsoft.com/en-us/power-bi/desktop-aggregations

https://community.powerbi.com/t5/MBAS-Gallery/Aggregation-and-composite-model-Microsoft-Power-BI-fas...

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
Greg_Deckler
Community Champion
Community Champion

Yes


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler  clarify your answer:
a. Yes, it could be done if all tables are in import mode
b. Yes, fact table must be in direct query mode.


Thank You.

Aggregation tables require composite mode is my understanding. So they work when you have a mix of DirectQuery and import or all import.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.