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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
bcampbell
Helper I
Helper I

New Table with specific values from another table column

I have a Table that contains 2 columns that i want to create a new table from 

 

1 of those columns is date / time of  and the other column contains a 4 letter value

 

I would like to make a new table with specific 4 letter value and aslo the column that contains date/time

 

How could i do this from a Dax expression ?

 

Thanks

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @bcampbell

 

You can simply create a new table with this code:

 

NewTable = FILTER(YourCurrentTable; YourCurrenTable[Value]="ABCD")

 

where "ABCD" is the specific 4-letter value you want to keep.  

View solution in original post

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @bcampbell

 

You can simply create a new table with this code:

 

NewTable = FILTER(YourCurrentTable; YourCurrenTable[Value]="ABCD")

 

where "ABCD" is the specific 4-letter value you want to keep.  

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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