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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calender Table Relationships

Hi,

I created calender table to link dates columns in 4 different tables(1-4), however one of the relationships to the calender table isn't active(Table 1).

 

From the error message i received, i need to delete an existing relationship between two of the tables(Table 1&2).

 

I however need the relationship between these tables(1&2) active(its helps identify agents and their transactions) as well as the keep relationship between Table 1 and the calender table.

 

Anyway i can do this?...I have attached an image to help

 

Calendar Table is title DimDate.

 

 

 

20200528_111357.jpg

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , please make sure you do not have two paths. Means A-B and A-C-B

 

Like I have table joined to date and it joined to master table that is also joined to date. Then I have one relation inactive and use that using userelation when needed.

 

Use relation example

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

If you've fixed the issue on your own please kindly share your solution. if the above posts help, please kindly mark it as a solution to help others find it more quickly. If not, please kindly elaborate more. thanks!

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@Anonymous , please make sure you do not have two paths. Means A-B and A-C-B

 

Like I have table joined to date and it joined to master table that is also joined to date. Then I have one relation inactive and use that using userelation when needed.

 

Use relation example

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

az38
Community Champion
Community Champion

Hi @Anonymous 

you can solve it using USERELATIONSHIP() function in your calculations

https://docs.microsoft.com/en-us/dax/userelationship-function-dax


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.