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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
az383
Regular Visitor

Get yesterday's profits / get last row's data

Hi all, 

I have a table that contains the profits of each of my departments daily. The first column 'Calendar Day' has the date of every day since May 1st and it automatically updates daily so the latest row will be yesterday's profits. The columns after the 'Calendar Day' column are each of my department's profits. I want to be able to sum up the profits of all my departments from the latest day. For example, if today is 5/4/2023 the most recent date in the table will be 5/3/2023 and I want to sum up all the profits from 5/3/2023. I think this can either be done by summing up the latest date or summing up the last row; how can I do this?

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.