Forum Discussion
Filter() and AllSelected()
Hello, I want to to write a formula to calculate Running Total based on slicer. Nevertheless, I do not understand why one formula works, but the other one (which should be working) does not. Could someone help explain! Many thanks!!
This is the snipset for the correct one
And this is for the wrong one
berry195 , when you have used Date in the filter section of calculate, without using the filter function, it has already considered all(Date[Date])
so it is considering the dates which are not selected too
refer: Difference in filtering data in CALCULATE with and without FILTER - https://youtu.be/KDcmzwgPvXQ
2 Replies
- amitchandakSuper User
berry195 , when you have used Date in the filter section of calculate, without using the filter function, it has already considered all(Date[Date])
so it is considering the dates which are not selected too
refer: Difference in filtering data in CALCULATE with and without FILTER - https://youtu.be/KDcmzwgPvXQ
- berry195Frequent Visitor
amitchandak many thanks Sir!