Forum Discussion
margaridatedim
1 year agoFrequent Visitor
Auto-Reset Slicer Selection When Changing Selection in Main slycer
I have two attributes in my report: "Sales Groups" and "Sales Types," with a one-to-many relationship between them. Each "Sales Type" belongs to a single "Sales Group," while one "Sales Group" can ha...
- Anonymous1 year ago
Hi margaridatedim ,
You can try formula like below:
FirstSalesType = CALCULATE( FIRSTNONBLANK('Sales Types'[Types], 1), FILTER( 'Sales Types', 'Sales Types'[Group] = SELECTEDVALUE('Sales Groups'[Group]) ) )SelectedSalesType = IF( ISFILTERED('Sales Types'[Types]), SELECTEDVALUE('Sales Types'[Types]), [FirstSalesType] )
Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous1 year ago
Hi margaridatedim ,
Choose SelectedSalesType to Filters on this visual. You can check pbix file i have provided.
Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
margaridatedim
1 year agoFrequent Visitor
May I ask where should I put what?
Anonymous
1 year agoNot applicable
Hi margaridatedim ,
Choose SelectedSalesType to Filters on this visual. You can check pbix file i have provided.
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.