Forum Discussion
Previous Month with problems
- 8 years ago
Oh ty Ashish_Mathur I already did what I need. I created a filter to the current and the previous month and putted on the sheet. So in the measure, I created a DAX calculation with calculate(sum(measure), lastdate(date)) and it worked fine for me. But thanks for replying this question. Have a great day
is this what you are trying?
No. I tried to explain that I want to show the last date from previous month, like in the formula I posted in the first post. So if I got 01-12-2017 as my current date in the database and all dates from november, I want to show the value of 30 nov 2017 because Its the last date from previous month.
- Ashish_Mathur8 years agoSuper User
Hi,
So if the last date in your Data Table is March 10, 2018, then do you want to see a single column in the column chart with the value from Feb 28, 2018? If the answer is yes, then what result would you expect if in your Data Table, there is no data at all for Feb 28, 2018?
- dcrios8 years agoFrequent Visitor
Oh ty Ashish_Mathur I already did what I need. I created a filter to the current and the previous month and putted on the sheet. So in the measure, I created a DAX calculation with calculate(sum(measure), lastdate(date)) and it worked fine for me. But thanks for replying this question. Have a great day
- v-chuncz-msft8 years agoCommunity Support