Forum Discussion

crossover's avatar
crossover
Advocate I
5 years ago
Solved

Suppressing blank query error message

Happy new year!   I realize it's PowerBI board, however I'm running PowerQuery for Excel purposes, but perhaps it doesn't play a big role. My PQ query loads xlsm files from a folder - which sometim...
  • Jimmy801's avatar
    5 years ago

    Hello crossover 

     

    you can use the error handler "try" and "otherwise".  so you could a statement like this

    YourFinalResult = try Table.ExpandColumn(.....) otherwise YourExpectedResultWhenHittingAnError


    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