Forum Discussion
Sort the two disconnected matrix at the same time
Hi Team,
I am not sure if this is possible but would like check this .. I have a two matrix as shown below .. is it possible to sort both the matrix at the same time. ( If i sort 1st matrix it should apply for the second one also )
the purpose is i am not able to acheive adding columns like last week difference, avg , last - avg etc in single marix .. coz is getting added across all columns ... so trying to put one more matrix but sorting should apply for both matrix.
Anonymous - Not that I'm aware of. I'd love it if MS opened up some kind of JavaScript or other scripting language we could work with to drive these button click type events across our reports, but at the moment I just live with bookmarks.
Out of curiousity, what makes the bookmark idea unusable? Would be fairly quick and easy to setup.
4 Replies
- kriscoupe
Solution Supplier
Hi Anonymous,
The only way I can think to do this is to set up bookmarks that are linked to only the 2 matrix visuals and set the bookmarks
- First bookmark when both are sorted ascending
- 2nd bookmark when both are descending
Make sure to use the Selected Visuals options (highlight the 2 tables when creating the bookmark) on the bookmarks and only have the data item checked on the bookmark.
Then stick a couple of buttons above and assign these as an action.
Extra credit - You could get really fancy and have the 2 buttons layered on top of each other and set the visual properties of these to hidden or not when each is clicked, saving a bit of screen real estate.😉
Hope it helps
Kris
- AnonymousNot applicable
is there anyother way ?
- kriscoupe
Solution Supplier
Anonymous - Not that I'm aware of. I'd love it if MS opened up some kind of JavaScript or other scripting language we could work with to drive these button click type events across our reports, but at the moment I just live with bookmarks.
Out of curiousity, what makes the bookmark idea unusable? Would be fairly quick and easy to setup.
- v-lili6-msft
Community Support
HI Anonymous
To my knowledge, it could not achieve in power bi for now, you need to sort them separately.
Regards,
Lin