Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
siva_powerbi
Helper IV
Helper IV

sort matrix visual using custom buttons outside visual

Hello Experts

 

I have a matrix visual where I am displaying product names, only sorting option I got is to click on the product name in column header that will sort either ascending/descending.

 

siva_powerbi_0-1630398448711.png

 

I have a requirement where I need to have 2 button above matrix visual and click on one button should sort ascending and other should sort the visual descending.

siva_powerbi_1-1630398617788.png

 

Unfortunately I couldn't find any way to do this where sorting of a visual is triggered by the other component outside the visual.

 

Any help is appretiated.

 

Thanks

1 ACCEPTED SOLUTION

Hi @siva_powerbi ,

 

You need to make sure that the DATA option is enabled when using filters on the report page along with the bookmarks.

 

Screenshot 2021-08-31 at 09.57.33.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

Hi @siva_powerbi ,

 

When you say sorting the matrix visual - does it mean you need 2 sorting buttons outside the matrix visual to sort the matrix visual by product Name in ascending/descending order?

 

You can achieve this by using bookmarks and buttons in Power BI.

 

But I am still struggling to understand that if there is already a sort icon against product Name column in matrix visual, why you require extrernal sort buttons.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi Pragati

 

Thanks for the reply.

 

Can you please help to elaborate more on using bookmarks for sorting as if filter is applied on the visual still bookmarks work?

 

Yes, their is a sort icon on visual but we can't see both ascending and descending at once, Also my organization need to have a sort buttons in differet shatpes and different background to enhance user experience.

 

Thanks

Siva

Hi @siva_powerbi ,

 

You need to make sure that the DATA option is enabled when using filters on the report page along with the bookmarks.

 

Screenshot 2021-08-31 at 09.57.33.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thanks for the solution.. its working

 

Only change here is uncheck All Visuals and check Selected Visual

Hi @siva_powerbi 

AS @Pragati11 mentioned you can achive this with bookmark.

Watch these 2 video to learn how to set and use Bookmark in Power BI:

https://www.youtube.com/watch?v=xCMqWEvSkAs

https://youtube.com/watch?v=_Afcj8mT5_Q

 

and see this link:

Create report bookmarks in Power BI to share insights and build stories

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Appreciate your Kudos VahidDM_0-1630400001156.png !!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.