Forum Discussion
USERELATIONSHIP() - Visual Filter
- 1 year ago
Hi iris__bi ,
Please refer attached PBIX file.
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
One approach would be to make both relationships inactive and use USERELATIONSHIP in both measures. That would prevent the line chart from filtering to just those rows with a created date in the selected month.
You could then create a measure like
Row is visible =
VAR ChosenDates =
VALUES ( 'Calendar'[Date] )
VAR Result =
IF (
SELECTEDVALUE ( hypothetical_jira_tickets[Closed Date] )
IN ChosenDates
|| SELECTEDVALUE ( hypothetical_jira_tickets[Created Date] ) IN ChosenDates,
1
)
RETURN
Result
and apply that as a filter to the table visual, set to show only when the value is 1.
- iris__bi1 year agoFrequent Visitor
Hi John,
Thanks for providing solution, but I don't think that works. I've experimented our solution on my file (link below) but it doesn't seems to work properly. Do you mind taking a look? Much appreciated.
https://drive.google.com/file/d/1ZkxeqKJF_Q9Aqiop9ct2WUFOc9-jOkT3/view?usp=sharing
Iris