Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
Is there any way that I can do this in Power BI? I want to make column "calculations" using this formula.
Thank you in advance,
Milena
Solved! Go to Solution.
Hi @Anonymous ,
Here is a solution to your problem. I am not sure if it is the most efficient solution, but it gives you the result needed.
First, I added an index column from the query editor to the table to be able to catch the previous value of Type and Size. Then, I added a calculated column with the formula below:
Hi @Anonymous ,
Here is a solution to your problem. I am not sure if it is the most efficient solution, but it gives you the result needed.
First, I added an index column from the query editor to the table to be able to catch the previous value of Type and Size. Then, I added a calculated column with the formula below:
Hi @saraMissBI ,
Thank you so much, this works!
I have one additional queston, what should I do if I want to subtract values from column "Number"?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |