The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?