Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I would like to only calculate the sum of values after a certain date. I do not want to have to manually key in the date every month as new data comes in. I have created a Measure to isolate the latest data point, however the target date I'm after is always 3 months prior to the maximum posting date of the data. Sorry for the huge amount of detail. I have spent alot of time on this both trying things out and reading other similar issues.
1. Pull the max posting date. This Measure works fine!
Date Latest Actuals=
MAX('Actuals'[PostingDate])
2. Isolate the variables to be input into the target date measure
Date Year=
Date Month=
Date Year=
@Eduardo6 - I suppose the first thing to check would be to make sure that your measure is set to be a Date data type and not text for example. Second thing I would check would be to have SalesFcst measure just return Date Latest Actuals so that you can check what the value of that is in context of where you are using it.
@Greg_Deckler the measure is set to be a Date. When I change the SalesFcst measure to just return the Latest Actuals date it returns the following
Year | Month | SalesFcst |
2018 | June | 6/1/2018 |
2018 | July | 7/1/2018 |
2018 | August | 8/1/2018 |
2018 | September | 9/1/2018 |
2018 | October | 10/1/2018 |
@Eduardo6 - Any chance that there is some value in 'Fcst'[Date] that is like blank or something like that?
Well, there may not be, but is that true within the context of the visualization? That's the key with measures.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |