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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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