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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gabrieloliveira
New Member

Click and drag data selection

 

I'm building a new visual using typescript.

And I need to use click and drag data selection that exists on the Windows desktop for example.

 

 

example.png

 

The visual I'm building is a matrix , and I need this click and drag function to select the data that will be highlighted.

 

Any idea how to implement this in the visual I'm building?

 

 

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@gabrieloliveira

I guess it is possible as in Javascript but would be quite a challenge. What is the purpose in your case? By the way, you could do multiple selection by pressing "Ctrl" button.

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@gabrieloliveira

I guess it is possible as in Javascript but would be quite a challenge. What is the purpose in your case? By the way, you could do multiple selection by pressing "Ctrl" button.

The idea would be to make a selection of many data from the matrix in the matrix would not appear the data but colored boxes representing, and would need to select dozens of them in a single selection, where the ctrl key would become a tiresome selection, I was able to build the solution in Javascript.
Thank you very much

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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