Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Formula.Firewall Error when Iterating through one table to create another

I have a PowerQuery that is creating one table All_Boards using REST API calls to JIRA. The structure of the table is as follows:   board.id board.name 100 Team A 101 Team B .. .. ...
  • Jimmy801's avatar
    Jimmy801
    6 years ago

    Hello Anonymous 

     

    the solution to your problem was that you have to put every code to access your API in one query. Means that some data access query have also be placed there. And there your question was If it would possible to reuse a part of bigbig query.

    The solution I gave you is a realy basic version of how it could work. To explain it a bit further

    in your big query you hava "let" and a "in". When you now have to include a data access query to this big query, do like that

     

    YourQueryNameToBeIntegrated =
    
    //and here you put your query
    
    let
    
       .....
    
       final= ....
    
    in
    
       final

     

    now to be able to steer how this query is access, you can modify your output of your bigbig query as a record like this

       finalresultbigbigquery = ....
    in
       [FinalResult= finalresultbigbigquery, YourIntegratedoldQuery = YourQueryNameToBeIntegrated]

     

    this enables you to use your bigbig query in two ways.. meaning the final result AND your integrated old query (that accesses basic data). Just invoke the bigbigquery whether like bigbigquery[FinalResult] OR bigbigquery[YourIntegratedoldQuery].

    With this scenario you can reuse the coded inputed in your big query.

     

    Hope its clearer now

     

    If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
    Kudoes are nice too

    Have fun

    Jimmy