Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
35 | |
32 | |
18 | |
18 |