Forum Discussion

sesame5486's avatar
sesame5486
Frequent Visitor
2 years ago
Solved

How to force a line to execute in Power Query

I recently posted this question when my query would not refresh correctly. The query would only refresh correctly after I refreshed the preview.

To summarise the question and answer, the reason why the query would only refresh correctly after refreshing the preview was because one of the steps in the query was not referenced by the final step, but was essential for the API to work correctly (please see post for full details).

My question is simple: how do I force Power Query to execute a step even if that step is not referenced in the final step? To illustrate my point, how would I force Power Query to execute step "a = "123"," below?

 

let
a = "123",
b = "456"
in
b

 

2 Replies