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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.