The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |