The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have column A, I want to create a 'calculation column' B. The calculation function please find from B's calculation.
Thanks!
Solved! Go to Solution.
Hi @Anonymous
You may use below dax to get the calculated column.
Column = VAR a = PRODUCTX ( FILTER ( Data, Data[Index] <= EARLIER ( Data[Index] ) - 1 ), Data[A] ) VAR b = Data[A] RETURN IF ( Data[Index] = 1, Data[A] * 1, a * b )
Regards,
Hi @Anonymous
You may use below dax to get the calculated column.
Column = VAR a = PRODUCTX ( FILTER ( Data, Data[Index] <= EARLIER ( Data[Index] ) - 1 ), Data[A] ) VAR b = Data[A] RETURN IF ( Data[Index] = 1, Data[A] * 1, a * b )
Regards,