This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi everyone,
I am extraction information in chunks, and the idea is appending them all toghether in a new query.
The number of values differs so for some periods I'll need more or less queries (in this example Advisories10 to 14 are empty).
The issue is that when I try to append a query which is empty an the append fails.
Any idea of how to perform a check and then append only the non blank queries?
Thanks!
Solved! Go to Solution.
In the below code, you need to define your ListOfTables to be combined which are name of Queries. So, just modify the first line. So your first line will be like (you will need to put all 14 queries here)
ListOfTables = {Advisories1, Advisories2, Advisories3,.......Advisories14}
let
ListOfTables = {Table1, Table2, Table3},
TableOfTablesToBeCombined = Table.RemoveRowsWithErrors(Table.FromList(ListOfTables, Splitter.SplitByNothing()), {"Column1"}),
ListOfTablesToBeCombined = TableOfTablesToBeCombined[Column1],
Result = Table.Combine(ListOfTablesToBeCombined)
in
Result
Great!
Thanks a lot!
In the below code, you need to define your ListOfTables to be combined which are name of Queries. So, just modify the first line. So your first line will be like (you will need to put all 14 queries here)
ListOfTables = {Advisories1, Advisories2, Advisories3,.......Advisories14}
let
ListOfTables = {Table1, Table2, Table3},
TableOfTablesToBeCombined = Table.RemoveRowsWithErrors(Table.FromList(ListOfTables, Splitter.SplitByNothing()), {"Column1"}),
ListOfTablesToBeCombined = TableOfTablesToBeCombined[Column1],
Result = Table.Combine(ListOfTablesToBeCombined)
in
Result
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.