Forum Discussion
Slicer on a different relationship
I currently have a dashboard with multiple pages. Page 1 and 2 uses a relationship between the calender table - date column and accounts table - start date column.
For page 3 I need to use a slicer which uses the (inactive) relationship between the calender table - date column and accounts table - end date column.
Unfortunately I cannot set the slicer correctly for page 3. Is there a way to use the inactive relationship? I've tried Userelationship() but does not work correctly.
See image for the basic setup.
- Anonymous4 years ago
Sorry, found another solution. Edited the data in query manager.
4 Replies
- parry2k
Super User
Anonymous USERELATIONSHIP is the way to go, what have you tried, what is your DAX expression and what is not working? Can you provide more details?
- AnonymousNot applicable
This is a measure Im using but you can't add this one to a slicer. I've tried to use the end date kolom in the slicer but it then shows all the dates of the column. Not general years and months.
Measure example = CALCULATE(AVERAGE(ACCOUNTS[ID]),'Calendar'[ISO Year]=TODAY(),USERELATIONSHIP('Calendar'[Date],ACCOUNTS[END DATE]))
- v-zhangti
Community Support
Hi, Anonymous
If your problem is not yet solved, can you provide a simple PBIX file for testing and show the output you expect? If you have solved the problem, you can share your own solution to help others find it.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Sorry, found another solution. Edited the data in query manager.