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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
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.