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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Community Champion
Community Champion

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]

 

 



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

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]

 

 



Follow on LinkedIn
@ 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!:
DAX For Humans

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.