Forum Discussion
Change relationship based on graph selection
- 1 year ago
Hello ElvirBotic
You can achieve this using USERELATIONSHIP in a measure instead of changing the active relationship.
ActualClosures =
CALCULATE(
COUNT(FactTable[ID]),
USERELATIONSHIP(DateDim[Date], FactTable[ActualDate])
)Use this measure in your table visualization.
When a user selects a bar from the Actual Closures graph, it will filter based on Actual Date.
No need for separate pages
Thanks,
PankajIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
Hello ElvirBotic
You can achieve this using USERELATIONSHIP in a measure instead of changing the active relationship.
ActualClosures =
CALCULATE(
COUNT(FactTable[ID]),
USERELATIONSHIP(DateDim[Date], FactTable[ActualDate])
)
Use this measure in your table visualization.
When a user selects a bar from the Actual Closures graph, it will filter based on Actual Date.
No need for separate pages
Thanks,
Pankaj
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.