cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bcampbell Regular Visitor
Regular Visitor

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

Accepted Solutions
Super User
Super User

Re: New Table with specific values from another table column

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.  

1 REPLY 1
Super User
Super User

Re: New Table with specific values from another table column

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.