The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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"?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |