Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everyone,
I am creating a report based on one done previously in Tableau.
There's a Net Sales Average calculation that uses Tableau's WINDOW_SUM functions to just get the 3 rows above the current and divide by three to get the running net sales average.
Here's what it looks like:
WINDOW_SUM(SUM([Net Sales]), -3,-1)/3
What would be the DAX equivalent to this function?
Thanks!
@Anonymous
Please check this post https://community.powerbi.com/t5/Desktop/Dax-Formula-Sum-Offset/m-p/236169
Thanks,
Ritesh
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.