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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ddpl
Solution Sage
Solution Sage

Is there any way to bulk select particular text and replace it with another text in M Code ???

As we write M code in Custome Column or in Advanced Editor,

 

Is there any short cut like in DAX code you select text and then press Ctrl + Shift + L , then you can replace same text in whole DAX code with another text...

 

There is a way to enable multiple cursors in M Code but we have to click it with Alt key for every point in M Code we want to change...

 

If you have in mind something, It would be very helpful. 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Yes, ALT+Click trick is only way in Advanced Editor. AE is a very rudimentory code editor, as of now.

Other possibility (which is of course inferior) is to copy the code in a text editor program like Notepad, Wordpad, Word etc and change there and paste it back into AE.

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

Yes, ALT+Click trick is only way in Advanced Editor. AE is a very rudimentory code editor, as of now.

Other possibility (which is of course inferior) is to copy the code in a text editor program like Notepad, Wordpad, Word etc and change there and paste it back into AE.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.