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 September 15. Request your voucher.

Reply
Syndicate_Admin
Administrator
Administrator

Create a new table from a column filter

Hello
I have a calculated column in my table created by this code:

FilterCol = IF(LEN(Assemk[SERIE])=8 &&
IZQUIERDA(Assemk[TRA],1)="F" &&
Assemk[SUC]="CB" &&
Assemk[DATE]. [Date] > TODAY()-5,
Assemk[SUCCOD],"false")

With this calculated column I can filter all rows that are different from "false" and get only the rows I want. I would like to create a new separate table with only those rows other than "false". How can I do this?

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

You might want to try,

Filtered Table = CALCUALTABLE ( Assemk, Assemk[FilterCol] <> False )

 

To some extent, such a calculated table is not that necessary as you may use CALCUALTABLE ( Assemk, Assemk[FilterCol] <> False ) as filter modifier in most DAX measures.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

1 REPLY 1
CNENFRNL
Community Champion
Community Champion

You might want to try,

Filtered Table = CALCUALTABLE ( Assemk, Assemk[FilterCol] <> False )

 

To some extent, such a calculated table is not that necessary as you may use CALCUALTABLE ( Assemk, Assemk[FilterCol] <> False ) as filter modifier in most DAX measures.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

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.