Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowHow would I go about subtracting previous row from current row and display those result in a new row? I’d like my first value to be 0 and I start my calculations in the 2nd row. I’m looking to generate a Test column with the values: 0,0.01,0.03,0.02,0, etc.
I have a table called Query1 that contains a measure called running index that calculates running index with:
1 running index = CALCULATE(Query1[adjusted_renewal_cost running total in renewal_year]) / calculate([Measure1], all(Query1))
Target year is a column in my Query1 table. I’m thinking I need to reference this column in some way, but I may be wrong.
If your target years are sequential, you can use this to refer to the previous row by creating a measure as follows:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
98 | |
69 | |
63 | |
49 | |
41 |