Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Reporting using fetchxml

(0) ShareShare
ReportReport
Posted on by 1,942
Hi All,
 
I have an out of box entity called opportunity and created two custom entities called opportunity contracts and opportunity service lines with one to many relationship. I am trying for an online fetchxml report using visual studio 2019. I am trying to use lookupset in conjunction with join function to print the child columns in a comma separated value with in the same column. It works for opportunity to opportunity service lines, and the same formula is not working for opportunity opportunity contract.
 
Formula for service lines: =Join(LookupSet(Fields!opportunityid.Value,
Fields!mms_opportunityidValue.Value, 
Fields!mms_servicelineid.Value, ,OppSLines),/,/)
 
Formula for contract lines: =Join(LookupSet(Fields!opportunityid.Value,
Fields!mms_opportunityidValue.Value, 
Fields!mms_contracttype.Value, OppCon),/,/)
 
  • RudyZhang Profile Picture
    Microsoft Employee on at
    Reporting using fetchxml
    Hi,
     
    We have analyzed your requirements and according to the official documentation, the function /LookupSet/ is used with these limitations. Please check if you are violating these restrictions when using it.

    Please refer to the documentation at the following link
    https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-lookupset-function?view=sql-server-ver16
     
     
    In addition, we are reproducing your operation in a test environment to try to discover the cause of this problem. If there is any progress, we will reply below.
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans