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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Create new table containing subset of data from existing table, but meeting a date condition

In my dataset, I have a table called DEALS, which contains 50+ columns. Three of the columns are called Deal Number, Rate Date and Rate Value.

 

I would like to create a new table which pulls Deal Number, Rate Date and Rate Value from the DEALS table, but only for rows where the Rate Date column contains Jan 31, 2020.

 

I tried this using the FILTER function - it created the new table with the date condition enforced, but it pulled all columns from DEALS, and I only need three.

 

Any advice on what function I could use? Thanks in advance!

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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

Hi @Anonymous ,

 

You can try it using filter and selectcolumns.

 

https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax

 

 

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.