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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.