Forum Discussion
bonjourposte
2 years agoHelper V
Am I using ParallelPeriod right?
I'm differentiating between two time periods in my LOANHIST table- the current time period, and one month prior. When comparing the two, taking into account a bunch of different filters, we can tell...
lbendlin
2 years agoSuper User
PARALLELPERIOD is one of the sneaky ones. It returns the ENTIRE period, if you want it or not. Better use explicit DATEADD.
PARALLELPERIOD function (DAX) - DAX | Microsoft Learn
- bonjourposte2 years agoHelper V
DATEADD needs continguous dates, which I don't have in my AccountingDate column.
- lbendlin2 years agoSuper User
Ah but you need to have a calendar table in your data model anyway 🙂
- Anonymous1 year agoNot applicable
Hi,bonjourposte
Can you tell me if your problem is solved? If yes, please accept lbendlin's reply as solution.Best Regards,
Leroy Lu
- bonjourposte1 year agoHelper V
Not yet. he had mentioned using DATEADD, but to use my date calendar instead of my list of dates in the table. I'm not entirely sure that's the solution at this point.