Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Create a new table with filter between two dates in DAX

Hello,   Looking for some samples to create a new table from the existing table and restricting it with DATESBETWEEN function where I can provide a start date and end date for my new table.   Tha...
  • SivaMani's avatar
    5 years ago

    Anonymous, Try the below code.

     

    DerivedTable = CALCULATETABLE(<existing table name>, DATESBETWEEN(<date column>,StartDate,Enddate))