Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
F2Di
Frequent Visitor

Row - The previous row

I need to get the value now- the value in the previous row

- an exepression in power bi report builder 

 

Thanks

7 REPLIES 7
DataVitalizer
Super User
Super User

Hi @F2Di 

In PBRB you can return the previous value using the Previous function, here is a link to its description

https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-prev...


Did it work ? 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge

Ashish_Mathur
Super User
Super User

Hi,

I am not sure about Power Builder but i can try to do so in DAX as a calculated column.  Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

F2Di_0-1690800301919.png

 

 

and i needed to be like this 

F2Di_1-1690800348559.png

 

Hi,

I do not know anything about Power builder.  So do you want this to be done in PowerBI Desktop with a calculated column or with the Query Editor?  Also, share data in a format that can be pasted in an MS Excel file. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Query Editor, i need just an expression can be used

Share data in a format that can be pasted in an MS Excel file. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

i solved the problem with this exepression 

F2Di_1-1690888793179.png

 

 

but there is another problem with the first row

F2Di_2-1690888831559.png

 

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.