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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
LuckyLuke
Frequent Visitor

Help with multiple date fields related to a single date\calendar table.

Hi Everyone,

 

I have a custom calender table and in my data tables I have multiple date fields.

I have created multiple relationships to the calender table with none of them set as active.

 

My questions is how can I have multiple visuals based on different date fields and have slicers work with accross the entire page.

 

To give more context, the main data table is a list of cases.  I have a date the case was first recieved, date since last action, date case closed etc.  I would like one visual to have a bar chart to show cases recieved 0-4 weeks ago, 5-8 weeks ago, 9-12 weeks etc.  ans another visual should be similar but show number of weeks since the last action was carried out.

 

The date table works out the number of weeks and then I have another table with the week groupings, but I'm having trouble figuring out how to tell the visual which relationship to use.  I am aware of USERELATIONSHIP but it doesn't seem to work with slicers and I'm not sure how to use it with the extra link to the grouping table.  I would like to be able to slice the data by case worker, team, type of case etc.  Perhaps I'm not using it right or need to make the relationships bi-directional?

 

Any example of how this should be achieved would be much appreciated.

 

TIA.

1 ACCEPTED SOLUTION

Thank you for your reply.

 

I think I have figured out how to use measures with USERELATIONSHIP to get these visuals to work for the various relationships.

Not sure why it wasn't working before, but it seems to be now.

 

Thanks.

 

 

 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Please check if this blog can help. We have used multiple dates with same date dimension

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your reply.

 

I think I have figured out how to use measures with USERELATIONSHIP to get these visuals to work for the various relationships.

Not sure why it wasn't working before, but it seems to be now.

 

Thanks.

 

 

 

@LuckyLuke 

 

Glad to hear that. You may help accept solution. Your contribution is highly appreciated.

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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