none
Same query is executed twice, query dependencies RRS feed

  • Question

  • I am loading data from a webserver. 
    I have two queries that should use the same data. In one of the two queries i have references the other query. 

    If i press reload all the apicall (/api/data/eventdata) is executed twice on the webserver. How can i prevent this behavior? 

    It should load the Events query first and then use the data in the LoadMTBF query.

    First Query: Events

    let
        Source = Json.Document(Web.Contents(serverAddress() & "/api/data/eventdata/?token=" & token() ...

    Second Query:LoadMTBF

    let
        Source = Events,

    Monday, March 2, 2020 10:32 AM

Answers