Support Formation DAX
Gestion des dates

icon picker
DATESINPERIOD vs DATEBETWEEN

DATESINPERIOD(<dates>,<start_date>,<number_of_intervals>,<interval>)
Exemple ()
Sales for the Last Rolling Year =
CALCULATE(
[SalesAmount],
DATESINPERIOD(
Sales[Order Date],
LASTDATE(Sales[Order Date]),
-1,
YEAR)
)
Sera plus souple :
DATESBETWEEN(<dates>,<start_date>,<end_date>)

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.