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
Hi,
I need a help in writing a Dax where I want to calculate Revenue based on Date column and revenue value should be for Last three months and next three months.
Is your issue solved?
If the issue has been solved, please adopt the solution to help others
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Could you provide your sample data and expected output?
What are the decisions in the context? Is it determined by the current row or is there a slicer?
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @NidhiBhusari , you can use the following approach
Conditional_revenue = CALCULATE(SUM(Revenue),DATEADD([Date Column],-3,Month,DATEADD([Date Column],3,Month)
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.