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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to get the date from 2 tables in a report

(0) ShareShare
ReportReport
Posted on by 10

Hello everyone,

Can someone please help me with this problem. I'm kind new to NAV.

So: I've created a report for medical certificate. The tables are "Employee HR" and "Archive Disease V13". The report works, all good, but now the company wants when they run the report for one employee to appear also the date from current month or the last month. As i understand from the company, there is another table called "Disease HR", which got the same structure as "Archive Disease V13", but here are the latest information stored. I tried to connect the new table to the report and dataitemlinked to the employee hr, but when i run the report it shows me this and appears (-) which was not before:

4628.PNG

Also from the "Disease HR:, for the same employee this the structure and as you can see, last 2 dates didn't appear in the report:

5736.PNG

So, my question is: How can i retrieve the last 2 dates from "Disease HR" to appear on the report and get rid of (-).

Thank you

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    I think you must use 2 data items

    Data Item --> table 1

    Data Item --> table 2

    Then you will have all your records in the order that you are in need of.

    Then you must add a conditional formatting in the value of the textbox with something like IIF(table1.valueX = "",datefromtable2, datefromtable1)

    In this way, it will print dates from table1 first and then from table2

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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,933 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,055 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 640 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans