Forum Discussion
Anonymous
2 years agoNot applicable
Powerbi Query
Hello. I am using an invoked function to get my data. However if the table generated is empty, the next steps causes an error to my dashboard. I want to create a step where if this step results t...
Anonymous
2 years agoNot applicable
Hi Anonymous ,
Based on the description, open the advanced editor and try to add the following formula.
let
Source = YourFunction(),
IsEmpty = Table.IsEmpty(Source),
Result = if IsEmpty then
Table.FromRecords({[name= null, number = null]})
else
Source
in
Result
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.