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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to get the latest date data from the new table?

Hi Folks,

 

I have created a new table from the existing table (Office_Info) using the summarize function. I need to group by for Location and Latest Date. However, the result returned all dates total instead of the latest date. I tried many functions, it still not working. Could I know how to make it happened? 

 

I used 

SUMMARIZE('Office_Info',Office_Info[Location],"Latest Date",MAX(Office_Info[Date]),"Total Cost", sum(Office_Info[Total Cost]))

 

 Appreciate any help!

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Your formula works well on my sample data. Would you please show us your sample data or pbix file by onedrive for business?

Then we will help you more correctly.

 

Please do mask sensitive data before uploading.

 

Thanks for your understanding and support.

 

Best Regards,

Dedmon Dai

 

 

Fowmy
Super User
Super User

@Anonymous 

Your formula is correct. can your share the screenshot of the modal and the table. A sample PBIX will be good.

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.