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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.