The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I hope you are good.
I have difficulty in having the accumulated value of the last month, for the same days.
What I want is represented in the following image:
The measurements I have at the moment are:
Solved! Go to Solution.
please try
Value2_SPLM_Accumulated =
MAXX (
SUMMARIZE ( 'dCalendar', 'dCalendar'[CalendarDate], 'dCalendar'[Day] ),
IF (
'dCalendar'[Day] = 1,
0,
CALCULATE ( [.Value1_MTD], DATEADD ( 'dCalendar'[Date], -1, MONTH ) )
)
)
please try
Value2_SPLM_Accumulated =
MAXX (
SUMMARIZE ( 'dCalendar', 'dCalendar'[CalendarDate], 'dCalendar'[Day] ),
IF (
'dCalendar'[Day] = 1,
0,
CALCULATE ( [.Value1_MTD], DATEADD ( 'dCalendar'[Date], -1, MONTH ) )
)
)
It works! Thank you 😊
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |