Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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,
User | Count |
---|---|
84 | |
80 | |
69 | |
46 | |
46 |
User | Count |
---|---|
106 | |
45 | |
42 | |
39 | |
39 |