Forum Discussion
Difference of value between dates
- 2 years ago
Hello Rsosa,
If you are having only days insted of full date in WKN column you can try below measure, only replace "TABLENAME" with Your table name%diff=var todaysdate = MAX(TABLENAME[WKN])var previousdaydate= todaysdate -1var todayscount =CALCULATE(SUM(TABLENAME[Repeatecaller]),TABLENAME[WKN]=todaysdate )var previousdaycount=CALCULATE(SUM(TABLENAME[Repeatecaller]),TABLENAME[WKN]=previousdaydate)returnIF(previousdaycount=BLANK(),BLANK(),todayscount -previousdaycount)
Use a table or matrix visual - 2 years ago
If you have full date you can replace it with WKN column.
If previous solution works for you please mark as solution.
Hello Rsosa,
If you are having only days insted of full date in WKN column you can try below measure, only replace "TABLENAME" with Your table name
Use a table or matrix visual
- RSOSA2 years agoNew Member
It works! thank you so much, but, a follow-up question, what if I want this same, but apply for month and week whenever I apply any drill down?
Here is what I got so far, It works perfectly when it comes to a day, but as you can see, the week is showing the last value of the day and is not comparing to the previous week, same for the month.
Is there a way to do so?