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.
Hey guys, I've got this issue on Power BI. Suppose I sell some products in July, but I will get my money only after 3 months. I want to create a Cash-In column where the values will be shifted 3 cells down. How can I do it in Power BI? Thank you
Solved! Go to Solution.
@Anonymous,
You may refer to the DAX below.
Column = VAR m = Table1[Month] RETURN SUMX ( FILTER ( Table1, Table1[Month] = m - 3 ), Table1[Quantity] * Table1[Price] ) + 0
@Anonymous,
You may refer to the DAX below.
Column = VAR m = Table1[Month] RETURN SUMX ( FILTER ( Table1, Table1[Month] = m - 3 ), Table1[Quantity] * Table1[Price] ) + 0