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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

connecting multiple dates in 1 table to a date table

Hi All,

 

I have a table which has a createdate and deliverydate. I want to connect both of these to a date table. I am able to connect mt createdate but when i try to create a relationship between deliverdate and datetabel it shows the following message

sgs_0-1601570875521.png

Thanks

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous , 

 

You can create an active relationship between createdate and date in datetable and an inactive relationship between deliverdate and date in datetable. Use USERELATIONSHIP function when you need the relationship between deliverdate and date in datetable. For more details, please refer to https://docs.microsoft.com/en-us/dax/userelationship-function-dax

 

Or you can use TREATAS function without create inactive relationship between deliverdate and date in datetable. It can  apply filter from unrelated table. For more details, please refer to https://docs.microsoft.com/en-us/dax/treatas-function

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

Option 1 - Try to set relationship direction to Single

Option 2 - Create summarized table with deliver date and build relationship with that table from your master table

negi007
Community Champion
Community Champion

@Anonymous Since you can have only active relationship between two tables, your second relationship will be inactive. However, you can still use inactive relationship in your measures. 

 

Orders Shipped = CALCULATE( sum(Sales) ,USERELATIONSHIP('Date'[CreateDate], Sales[DeliveryDate]) )

 

refer to below link for more details.

 

https://docs.microsoft.com/en-us/power-bi/guidance/relationships-active-inactive

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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