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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
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.