Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.