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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
delano_brown
New Member

Buttons Changing the position of a visual based on custom logic

Hello, I wanted to know if it is possible to change the position of a visual (specfifcally a card and vertical postion) by using a button? To explain further I will have 4 buttons at the top of the page and under each button I will have 3-4 card visuals (1 for each row). I would want to have the similar functionality that table visuals have with clicking the header name and it will sort all rows below in desc/asc order. In this case if I clicked the button the cards underneath the button will change their vertical postion to order themselves. The logic of the ordering is the highest to lowest integer and vice versa.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

No, but you can have two identical visuals and show/hide them based on the bookmark.

View solution in original post

6 REPLIES 6
v-echaithra
Community Support
Community Support

HI @delano_brown ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @delano_brown ,

May I ask if you have gotten this issue resolved?

 

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,

Chaithra E.

v-echaithra
Community Support
Community Support

Hi @delano_brown ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra.

v-echaithra
Community Support
Community Support

Hi @delano_brown ,

Power BI does not natively support dynamically changing the vertical position of visuals like cards based on user interaction like a button click. Card visuals are statically placed on the canvas, and unlike tables or matrices, they do not support interactive reordering.

However, if you want to achieve this functionality explicitly, you can simulate it by creating separate visual groups for each sort order and using Bookmarks along with the Selection Pane to show or hide each set based on the user's choice.

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra E.


lbendlin
Super User
Super User

No, but you can have two identical visuals and show/hide them based on the bookmark.

Ah ok, yea I would need something that is more dynamic as the data will be changing on a daily basis. For which I will likely just have to stick with a table for my use case. Thank you!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors