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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
remi
Advocate II
Advocate II

copy a table and filter it

Hello all,

 

Is there a function that can help to copy a table and then filter based on a specific value from one column without doing it from the Edit Query side?

 

Thank you!

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Yes, you go to the modeling tab and choose "New Table" and you can plug in syntax like:

 

Table 1 = FILTER('Table',[Column] = "Value")

You will end up with a new table of only the rows in the source table 'Table' that have "Value" in [Column]

 

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

Yes, you go to the modeling tab and choose "New Table" and you can plug in syntax like:

 

Table 1 = FILTER('Table',[Column] = "Value")

You will end up with a new table of only the rows in the source table 'Table' that have "Value" in [Column]

 

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi i am looking for some help, if i wanted the value to be a range (last 31 days) from a date column do you knwo how i can do this in power BI DAX?

I can get it to work to pull oly todays date, but want it to dynamically create a table with the last 31 days from a larger table.

Table = FILTER('Safety Score table', 'Safety Score table'[Date] = TODAY())

 

Thanks in advance

Thank you @Greg_Deckler , positive result!

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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