Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Power Query - Append if no error

Hello,   I have 2 queries, for Primary Model & Comparison Model which i need to Append.   The Comparison Model will not always be there, thus its query will have an error when it is not defined. ...
  • Jimmy801's avatar
    5 years ago

    Hello Anonymous 

     

    in addition to the answer of edhans you can try if this solution would work out for you. This only worsk if your ComparisonModel gives an error, not only a cell value with an error

    Result = try Table.Combine({PrimaryModel, ComparisonModel}) otherwise PrimaryModel


    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