Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I wonder if anyone could help with this calculation. I have a calculated table with the following fields among others: KeyId, Date, CumPnl. Note that CumPnl is already a calculated column.
I would like to add a new calculated column Peak, where let's say for example that the equivalent excel formula for the current row i would be:
Peak[i] := IF ( CumPnl[i] > Peak[i-1], CumPnl[i], Peak[i-1] )
The rows could be differenciated by date or key.
I somehow cannot get the EARLIER() syntax right in conjuction with IF and the circular dependency.
Any ideas?
Many thanks,
Jose
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |