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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PeRoma
Frequent Visitor

Filter on columns that also contain Tables

Hi all,

 

I have an xlm-file imported into PowerQuery. The imported table contains columns with "Tables" as elements. The tables can of course be expanded to show the content. Unfortunately there is one column that contains both "Tables" and text as elements. Is there a way to deal with such a column? I currently can neither expand this table column (because of the text cells) nor can I filter on the lines containing the text or the tables, respectively.

 

Is there way to separate the lines containing table elements from those containing text elements?

 

Thank you any response!

1 ACCEPTED SOLUTION
m_dekorte
Super User
Super User

Hi @PeRoma,

 

You can try this. To select all table type values:
Table.SelectRows( PrevStepName, each Value.Is( [YourColumnName], Table.Type))

 

or select all text type values:

Table.SelectRows( PrevStepName, each Value.Is( [YourColumnName], Text.Type))

 

Where PrevStepName and YourColumnName need to be updated to reflect, the table and column to filter.

I hope this is helpful

View solution in original post

2 REPLIES 2
PeRoma
Frequent Visitor

Hi m-dekorte

 

Thanks for for the instruction. It works greate!
Thanks you very much!

m_dekorte
Super User
Super User

Hi @PeRoma,

 

You can try this. To select all table type values:
Table.SelectRows( PrevStepName, each Value.Is( [YourColumnName], Table.Type))

 

or select all text type values:

Table.SelectRows( PrevStepName, each Value.Is( [YourColumnName], Text.Type))

 

Where PrevStepName and YourColumnName need to be updated to reflect, the table and column to filter.

I hope this is helpful

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors