Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
webportal
Impactful Individual
Impactful 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.

 

Capturar.JPG

 

I'm trying to add this step with function Table.IsEmpty but it's not working.

 

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @webportal

 

Try

 

=

Table.IsEmpty([Data])

Regards
Zubair

Please try my custom visuals

View solution in original post

3 REPLIES 3
danno
Resolver V
Resolver V

Zubair_Muhammad
Community Champion
Community Champion

Hi @webportal

 

Try

 

=

Table.IsEmpty([Data])

Regards
Zubair

Please try my custom visuals

Yes, so simple 🙂

Table.AddColumn(#"Colunas Removidas", "Personalizado", each if Table.IsEmpty([Data]) then "TabelaVazia" else "TabelaComDados")

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.