Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Missing field in query

(1) ShareShare
ReportReport
Posted on by 543
Hi all,
I created an SSRS report depending on the CustCollectionLetterTrans table. To run the query I also created a query with datasource CustCollectionLetterTrans.
In the report there should be a grouping upon a extended field called MyDepartment and AccountNum... There are no error during compilation and deploying the eport. But on runtime a error occurs:
 
Unable to add the table field 'MyDepartment' to the query source 'CustCollectionLetterTrans'. Table field 'MyDepartment' does not exist on table 'CustCollectionLetterTrans'.
 
But the field is available in the query as well as in the extended table CustCollectionLetterTrans.
I tried to
  • recompile several times
  • synchronise the database several times
  • restart IIS
  • delete the report on report server and deploy it again
but nothing helps...
 
What else do I have to do/can I try to solve the problem?
Categories:
  • Verified answer
    Christian Busche Profile Picture
    Christian Busche 543 on at
    Missing field in query
    Hi all...
    as I wrote in first post, I try a lot of possibilities... At least I update my BevBox with latest D365-version (I had to have do this at all), the error did not appear anymore. 
  • Christian Busche Profile Picture
    Christian Busche 543 on at
    Missing field in query
    @Martin Dráb... I agree...
  • Layan Jwei Profile Picture
    Layan Jwei 7,349 Super User 2024 Season 2 on at
    Missing field in query
    Hi,
     
    Can you please try to restart iis, then reset the SQL reporting services. And then reset usage data. Hopefully it will work after this
     
    I feel it's a cache issue
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    Missing field in query
    Moved from D365 general forum to D365 Finance forum, because it seems to be about F&O and not about D365 in general. Please let me know if you disagree.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans