Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
HELLO, I NEED SUM THE TOTAL QUARTER, FOR EXEMPLE, I HAVE 12 MONTHS AND NEED (ALWAYS) SUM JUST THE LAST QUARTER.
1,2,3,4,5,6,7,8,9,10,11,12
SUM 123
SUM 456
SUM 789
SUM 101112
IF THERE IS 1,2,3,4,5,6, CONSIDER (SUM) JUST THE ONLY 4,5,6.
THANKS!
Solved! Go to Solution.
Hi @Anonymous
Try this measure:
Total last Quarter =
var _LQ = QUARTER(LASTDATE('Table'[Date]))
return
SUMx(filter('Table',QUARTER('Table'[Date])=_LQ),'Table'[Value])
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos ✌️!!
Hi @Anonymous
Try this measure:
Total last Quarter =
var _LQ = QUARTER(LASTDATE('Table'[Date]))
return
SUMx(filter('Table',QUARTER('Table'[Date])=_LQ),'Table'[Value])
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos ✌️!!
The actual format is DD/MM/YYYY, it was createda function TOTALQTD(SUM(numer1), date)), believe that that TOTALQTD be the function for sum the quarter!