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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Creating Aggregated table which is based on import fact table and Direct Query Fact table.

Hi,

I have a model in which, I have two fact tables. based on granuality. FactBrand is using Import mode based on (Total,company and Brand level data) and FactItem is using Direct query which have (item level data). All the dimension files are no import mode. All I want to create an Aggregation table which uses import mode when Total,company or brand is selected and Uses direct query when Item level selected. I am struggling how can I connect both fact table, So that I can write a single measure which works fine with both table. How can I create AGG based on two fact tables.

 

** Column names are same in both fact table.

anupam676_0-1650014012201.png

 

 

3 REPLIES 3
pbiforum123
Post Patron
Post Patron

Did you got any solution? How did you overcome this?

Anonymous
Not applicable

Hi,

 

Thanks for the reply. Actually, I need to know how can I give reference to the combination of imported and DirectQuery tables. Do I need to combine these two tables in power query? Can you please give me an example?

 

Regards,

Anupam

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

You can consider adding another calculated tables to a model that uses DirectQuery.

The Data Analysis Expressions (DAX) that define the calculated table can reference either imported or DirectQuery tables or a combination of the two.

Please refer to below document for more details.

Calculated tables 

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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