Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I was hoping someone would be able to help me with this. I currently have two separate tables each with the below values. What I want to do is calculate the sum of sales that occurred 60 days after the event date occurred for all item/store combinations. I'm struggling to get any DAX to take both columns into account.
Actions
Sales
Hi @klu31415,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
Hi @klu31415,
I made one sample here for your reference. I created a measure as below.
Measure = CALCULATE(SUM(Sales[total sales]),FILTER(ALL(Sales),Sales[date]<=SELECTEDVALUE(Actions[Event date])+60 && Sales[date]>=SELECTEDVALUE(Actions[Event date])))
And here is the result.
For more details, please check the pbix as attached. If it doesn't meet your requirement, kindly share your samle data and excepted result to me.
Regards,
Frank
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.