Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there, I need help on the following task. I wand to estimate returns based on the sales data three weeks ago (*0,27) for each product. Here is an example:
i would appreciate any help on this, thanks a lot:)
Solved! Go to Solution.
@Anonymous , Logic is not very clear, try a new column like
[sales] - sumx(filter(Table,[prod_nr] =earlier([prod_nr]) && [week] =earlier([week]) -3),[sales])
Can you share sample data and sample output in table format?
@Anonymous , Logic is not very clear, try a new column like
[sales] - sumx(filter(Table,[prod_nr] =earlier([prod_nr]) && [week] =earlier([week]) -3),[sales])
Can you share sample data and sample output in table format?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!