Forum Discussion
webportal
7 years agoImpactful Individual
Power Query M: Check if column contains emty table
In Power Query, my table has a column "Data" with tables.
A lot of these tables are empty, so I'm looking for a way to check which are empty and create an additional column "NotEmpty" I can use as a filter.
I'm trying to add this step with function Table.IsEmpty but it's not working.
3 Replies
- Zubair_MuhammadCommunity Champion
- webportalImpactful IndividualYes, so simple :-)
Table.AddColumn(#"Colunas Removidas", "Personalizado", each if Table.IsEmpty([Data]) then "TabelaVazia" else "TabelaComDados")
- AnonymousNot applicable
Hi, there's a similar query here: https://community.powerbi.com/t5/Desktop/Check-for-empty-table-before-expandRecordColumn/td-p/227793
hope this helps
dan