Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Enero-20 | 1000 |
Feb-20 | 2000 |
Mar-20 | 3000 |
Abr-20 | 4000 |
20 de mayo | 5000 |
Junio-20 | 6000 |
Solved! Go to Solution.
@Andrew1 , Probar como
Rolling 3 hasta el último 1 mes - CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(dateadd(Sales[Sales Date],-1,month)),-3,MONTH))
también se puede probar a continuación medida
Measure =
VAR maxdate=max('Sheet2'[date])
VAR startdate=date(year(maxdate),month(maxdate)-2,1)
return CALCULATE(sum(Sheet2[value]),FILTER('date','date'[Date]<=maxdate&&'date'[Date]>=startdate))
Proud to be a Super User!
@Andrew1 , Probar como
Rolling 3 hasta el último 1 mes - CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(dateadd(Sales[Sales Date],-1,month)),-3,MONTH))
Funciona muy bien! Muchas gracias.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |