Forum Discussion
Create Measure to Sum Up Column Total Based on User Picking Date
- 8 years ago
Anonymous wrote:
Thank you for replying. For some reason it's adding a lot more values (6.8 M). I added the data table into the original question for a frame of reference.
Anonymous
What is the date column in the slicer? Vvelarde's DAX shall work based on my test. Alternatively, you can create a measure as simple as sumTotal = SUM(Invoice[AmtUSD]) and use "BEFORE" in the slicer. See attached pbix file.
For further suggestion, please post upload the pbix file. You can upload it to Onedrive/GoogleDrive and share the download link. Do remember to mask sensitive data before uploading.
Anonymous
Hi try with this:
CalculatePastDue = CALCULATE(SUM(Invoice[AmtUSD]),FILTER(All(Invoice),Invoice[PaidDate] <= SELECTEDVALUE(DateTable[Date])))
Regards
Victor
Lima -peru
- Anonymous8 years agoNot applicable
Thank you for replying. For some reason it's adding a lot more values (6.8 M). I added the data table into the original question for a frame of reference.
- Eric_Zhang8 years agoMicrosoft Employee
Anonymous wrote:
Thank you for replying. For some reason it's adding a lot more values (6.8 M). I added the data table into the original question for a frame of reference.
Anonymous
What is the date column in the slicer? Vvelarde's DAX shall work based on my test. Alternatively, you can create a measure as simple as sumTotal = SUM(Invoice[AmtUSD]) and use "BEFORE" in the slicer. See attached pbix file.
For further suggestion, please post upload the pbix file. You can upload it to Onedrive/GoogleDrive and share the download link. Do remember to mask sensitive data before uploading.