The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
137 | |
106 | |
105 | |
73 | |
60 |
User | Count |
---|---|
266 | |
127 | |
119 | |
100 | |
88 |