Forum Discussion
Syndicate_Admin
Administrator
2 years agoHow to Know the Difference in Values Between 2 Date Range
Hello, good afternoon everyone! I have a GDP with a date column and a securities column (currency) and I would like to know the monetary difference between 2 selected dates, for example, 01-05-24 ...
- 2 years ago
CatuabaSelvagem My bad:
Difference Between Days = VAR SelectedDate1 = MINX(ALLSELECTED(Table),[Fecha]) VAR SelectedDate2 = MAXX(ALLSELECTED(Table),[Fecha]) VAR TotalValueDay1 = CALCULATE(SUM(Table), Table[Date] = SelectedDate1) VAR TotalValueDay2 = CALCULATE(SUM(Table), Table[Date] = SelectedDate2) RETURN TotalValueDay2 - TotalValueDay1
Anonymous
2 years agoNot applicable
Hi,CatuabaSelvagem ,I am glad to help you.
Hello,Greg_Deckler,
thanks for your concern about this issue.
Your answer is excellent.
Have you solved your problem?
If you have already found a suitable solution, I hope you will share it or accept the existing one, and if you have not yet solved it, could you provide more information that would be helpful in solving your problem.
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.