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 all,
Hi all,
I am trying to sum a column(bad debt reserve) of the second largest date ( previous month). But I am not sure how to correctly filter out the date. I tried creating a sepearate date column that would contain the original date -1( smaller by one month), however, dateadd function did not work as it only returned values for some months and other were blank.
LastMonthBD = CALCULATE(SUM('As of 6 30 2019'[Bad Debt Reserve (USD)]), FILTER(ALL('As of 6 30 2019'[As of Date] , 'As of 6 30 2019'[As of Date] = MAX(Dateadd('As of 6 30 2019'[As of Date],-1,MONTH)))))
Any help is appreciated!
Again... You should learn about the proper design of models first. If you don't, well, you will not know how to do your calculations in the simplest way possible and will be scratching your head constantly, which will frustrate you more and more each day.
Here's something to get you started with time intelligence in Power BI:
https://www.youtube.com/watch?v=kmZlNMA0_SM
Best
Darek
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |