Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Prueba esto
test =
IF (
CALCULATE ( [Sales], DATEADD ( RS_Dates[DateFull], -1, MONTH ) ) = 0,
CALCULATE (
[Sales],
DATEADD ( DATEADD ( RS_Dates[DateFull], -1, MONTH ), 1, DAY )
),
CALCULATE ( [Sales], DATEADD ( RS_Dates[DateFull], -1, MONTH ) )
)
Gracias
Arul