web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Excel temples picks the first value it finds, but i want the last value.

(1) ShareShare
ReportReport
Posted on by 2
Hello everybody,
 
Basically the "problem" i have is already described in the title, i work for a company that stores products for other companies. 
We send a detailed excel sheet everyday in wich our customers can see all the items and details they have stored here, we do this by using a self-made excel template.
Two colums in this excel sheet are "Registered date" and "Registered time", this information is taken from the table  "WMS Reg. Transactions Detail" and a filter is used regarding Transaction Type, so that the values are selected only from registered transfers. 
Because these transfers is what its all about, in our excel sheet the customer wants to see the latest transfer per palletcode. But here comes the problem, sometimes a palletcode is transfered multiple times, this means there can be multiple lines in previously named table per palletcode, because the tables in Microsoft Dynamics are standard ordered from old to young this means the excel template picks the oldest transfer date and time connected to a certain pallet code.
 
The question: Is it possible somehow, to make it so the excel temple picks the last value if there are multiple values found ?  (added a screenshot of the excel template)
 
thanks in advance,
Vincent
Schermafbeelding 2024-07-03 114446.png
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    96,039 Super User 2025 Season 2 on at
    Hi, I don't know how you made this Excel, but I personally suggest using Query, which is very convenient for getting the last value.
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans