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
rpinxt
Solution Sage
Solution Sage

How to setup a composite model

Had a directquery source and could not figure out how to make it mixed/composite

 

So I started new with an autocalendar, then added a direct query.

This apparently got me a mixed mode.

 

But why can I not make this relation??

rpinxt_0-1709196535106.png

 

The directquery has a date field and I thought to easily connected my date table with my directquery source.

 

What is going wrong? (yes I can it says circular dependency 😉 )

 

4 REPLIES 4
rpinxt
Solution Sage
Solution Sage

Ok so now the connection is there but it seems not to be working:

rpinxt_0-1709201449558.png

The yellow marks are different than normal.

 

I wanted to show the Quantity by period :

rpinxt_1-1709201586256.png

Nothing.

Quantity is the field Actual Qantity Delivered in the direct query source.

And period comes from the autocalendar en is setup like this :

dimDate =
ADDCOLUMNS(
CALENDARAUTO(),
"Period", FORMAT([Date], "MM-YYYY")

)

 

Is this just not possible with direct query or am I doing something still wrong??

 

rpinxt
Solution Sage
Solution Sage

Well how about this....

rpinxt_0-1709198487617.png

This works....but the other way around i get that circular dependency....🤔

 

rpinxt
Solution Sage
Solution Sage

@zenisekd 

It is setup from and CALENDARAUTO() :
dimDate =
ADDCOLUMNS(
CALENDARAUTO(),
"Year", YEAR([Date]),
"Quarter", FORMAT([Date],"\QQ"),
"Quarter Nr", QUARTER([Date]),

etc.

zenisekd
Super User
Super User

How did you get the dimDate? (what was your code)

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.