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 August 31st. Request your voucher.
Hi everyon,
I am new to PowerBi, but I already spent quite some time with creating reports.
Now I am stuck by calculating each row. During my research I came across EARLIER, etc.
Maybe someone could help me.
The goal is to add the previous row/column to current row/column and show that value in new column. Basically, adding up each row to next one.
Here is an example, it should be easier to understand what I am trying to create.
Solved! Go to Solution.
Hi @HORISEN ,
I have create a simple sample, please refer to it to see if it helps you.
Add an index column.
Then create 2 columns.
sumvalue = 'Table'[IN]+'Table'[OUT]
result = SUMX(FILTER('Table','Table'[Index]<=EARLIER('Table'[Index])),'Table'[sumvalue])
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @HORISEN ,
I have create a simple sample, please refer to it to see if it helps you.
Add an index column.
Then create 2 columns.
sumvalue = 'Table'[IN]+'Table'[OUT]
result = SUMX(FILTER('Table','Table'[Index]<=EARLIER('Table'[Index])),'Table'[sumvalue])
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |