create a range from data in powerbi code example Example: power bi in date range dax DATESBETWEEN(<dates>, <start_date>, <end_date>)