Forum Discussion
Find the difference between two dates value
- 3 years ago
By reading that, this should be caused by the bidirectional relationship of the two calender tables.
Although this may be be optimal (since I don't know if it is essential for you to keep the relationship between the calender table and water flow monthly)I, I think you can remove the relationship between that two calender tables, and then create another calender table. This should make you having 3 calender tables.
And then use that 2 standalone calender table in your slicers and DAX.
Please see if that works.
Hello qwerttty ,
To get difference between dates, use DATEDIFF DAX function and create your measure as per your need like to calculate DAYS/MONTHS/YEARS
Dates Difference = DATEDIFF(Date1, Date2,Duration)
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hi Kishore_KVN,
Thanks for the recommendation,
however, I not need to get the different between two dates.
I would like to get the amount from the selected date and find the difference of the amount between two selected date.
Thanks for your help.
Kind regards.