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
1984
Helper I
Helper I

Select Columns with adding a filter to those columns

Hi

 

Is there a way to add a filter to the columns when creating a selected columns table, so for example filter the create table to not show rows that have blank in assett?

 

Test table=
SELECTCOLUMNS(
'INSTALL',
"ASSETT", 'INSTALL'[ASSETT],
"Date", 'INSTALL'[DATE],
"CODE",RELATED('ORDER'[CODE])

)

 

1 REPLY 1
bhanu_gautam
Super User
Super User

@1984 , You can achieve it using below function

 

TestTable =
SELECTCOLUMNS (
FILTER ( 'INSTALL', NOT ISBLANK ( 'INSTALL'[ASSETT] ) ),
"ASSETT", 'INSTALL'[ASSETT],
"Date", 'INSTALL'[DATE],
"CODE", RELATED ( 'ORDER'[CODE] )
)

 

Please accept as solution and give kudos if it helps




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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