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

Fabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. Register now

Power Query Editor Applied Steps support for nested Let In expressions and Inline functions

Consider a query like this: let foo = (rec) => let bar = rec in bar, baz = foo("bat") in baz Evaluated, baz = "bat". In the Applied steps, this result can be seen, but the inline function just provides a way to Enter Parameter and provides no way to see what has happened to values passed in. This could be remedied by allowing the user to enter parameters and then show them in the applied steps grouped with the function. Expanding the function would then allow the user to see those values propagate through the function. As a nice side-effect of providing this feature, it could also be used for queries that are just a function as a way of debugging them.
Status: Needs Votes
Comments
fbcideas_migusr
New Member
I totally agree. And as you said, this could also be used for none functions as well like in the simple example below. let Interest = 3, TotalInterest = let NumberOfYears = 5, InterestAsDecimal = Interest / 100, Result = Number.Power(1 + InterestAsDecimal, NumberOfYears) in Result in TotalInterest In the Applied Steps you only see the steps: Interest TotalInterest How nice wouldn't it be to have a "+" sign at the TotalInterest step and by clicking the "+" sign you then also see: NumberOfYears = 5, InterestAsDecimal = Interest / 100, Result = Number.Power(1 + InterestAsDecimal, NumberOfYears)
fbcideas_migusr
New Member
Status changed to: Needs Votes