Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I need to get the MAX (or last value) of a previous month for a measure [WhatdoesYTDtotalneedtobe]
I have tried using this DAX as both a measure and a column, but it only returns blanks.
var current_month= MONTH(TODAY()) return CALCULATE(SUM('2022 GOals'[WhatdoesYTDtotalneedtobe]),FILTER('Dates',MONTH('Dates'[Month])=current_month -1))
Any ideas?
Thanks!
If I use this DAX:
I created a column which shows me the last day of the previous month:
@KW123 Hard to say without actual example data. You can get last month by using EOMONTH([Date], -1) that will get you the last day of the month, is that what you want? Or do you want to get MAXX of some value that exists in the last month?
@Greg_Deckler Thanks for the reply!
I have a separate column already with the previous days. I'm looking for a measure which will return the last day (is the same as the max) $ value from the previous month.
My DAX measure for the column I need is
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |