Forum Discussion
Anonymous
2 years agoNot applicable
Conditional Sum based on dates, custom month input
I see posts like these, but this is beyond my skill level and I hope someone would help me with my case. I want to create four sums: if transaction date this year then sum if transaction date ...
Anonymous
2 years agoNot applicable
CoreyP thanks a lot, this is a sample data. Imanaged to use measures and sum up the valued if between certain dates, but my question is, where it says Aug22 and 23, the dates are hardcoded, so datesbetween 0801 and 0831. How can I create a button or something which would be input to that? e.g. I select April and these dates get recalculated for the month I selected?
I hope it makes sense
CoreyP
2 years agoSolution Sage
Please share what your raw data looks like.
- Anonymous2 years agoNot applicable
- CoreyP2 years agoSolution Sage
Anonymous ,
Okay, yeah. So, create a date dimension table and set up the relationship to your created date column. Then create measures to sum whichever value column(s) you want. Then when you build your visuals, you can apply the date hierarchy for whatever granularity you wish.