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

Provide a CamelCase toggle option for Applied Steps in Power Query

The Applied Steps pane on the right (in Power Query) auto generates step names using normal spaced words. This is great when reading the step names in this pane. There is, however, an unfortunate consequence of this naming style. The M Code is more difficult to read and write (although reading is the main issue I see).


Here is an image showing the difference in readability between the 2 approaches.

http://bit.ly/3IGgoQx


I understand Microsoft has a standard it follows, hence the spaced words in the name. Please give those that get in to the M code a toggle option to record these step names in camelCase. Actually, PascalCase may be better than camelCase.

Status: New
Comments
cristian_angya2
New Member

Love the Idea Matt!

I'll do my best to spread the word and get more votes on it!

fbcideas_migusr
New Member

+1 vote

excelworld
New Member

Voted & Posted on my social media accounts

kbarber1
New Member

I am the opposite. I use #"" for all variable names, even those that do not contain spaces or special characters. I find this to be easier than needing to remember the 2 possible syntaxes. Also, the #"" adds some visual bulk that makes the variable names stand out a bit better. Whenever I see #"", I know that I'm looking at the name of a query, variable, column, or field. Lastly, #"" lets me write the variable name however I want without restrictions like needing to not use spaces or special characters. You are no longer forced to write like a programmer. You can write largely like you normally would and your code will still be valid, and I think that this is great.


In the image that you shared, the camel-case step names in the pane are harder to read than the default names. The solution is not camel case. The solution is to have a way to get the effect of #"" while still being easy to type and easy to read. Maybe something like surrounding the variable name in single quotes is the solution (e.g. 'Variable Name').

fbcideas_migusr
New Member
Status changed to: New