Forum Discussion
Slicing a visual while excluding the selected value from the visual
- Anonymous1 year ago
Hi PBI_AMS ,
Thanks for reaching out to the Microsoft fabric community forum.
Try this DAX measure :
ExcludedTopics =VAR SelectedTopics =VALUES(ContactFilterTable[SelectedTopic])
VAR HasSelection =COUNTROWS(SelectedTopics) > 0
VAR SelectedContacts =CALCULATETABLE(VALUES(ContactOutputTable[ContactGUID]),ContactOutputTable[Topic] IN SelectedTopics)RETURNIF(HasSelection,CALCULATE(COUNTROWS(ContactOutputTable),FILTER(ContactOutputTable,ContactOutputTable[ContactGUID] IN SelectedContacts &&NOT(ContactOutputTable[Topic] IN SelectedTopics))),0)
Find the below Attached .pbix file for your reference.If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it
Best Regards,
Sreeteja.
Community Support Team
Hi PBI_AMS ,
May I ask if you have resolved this issue? If so, please mark the helpful reply. This will be helpful for other community members who have similar problems to solve it faster.
- Anonymous1 year agoNot applicable
Hi PBI_AMS ,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.