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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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