Linq reporting select + predicate


#1

hello
is there a way to have objects.Select(o=>Property1) or objects.distinct(o=>Property1) inside linq reporting template ?

if not what is the workaround ?

thanks
sebastien


#2

@miniseb31,

We have logged your requirement in our issue tracking system. Your ticket number is WORDSNET-17851. We will further look into the details of this requirement and will keep you updated on the status of the linked issue.


#3

thanks for your reply,

is there a workaround ?


#4

@miniseb31,

No. Your issue is currently pending for analysis and is in the queue. We will inform you via this thread as soon as this issue is resolved or any workaround is available.


#5

@miniseb31,

The workaround or solution depends on details of your particular scenario. Please elaborate your usecase with the help of simple example(s). And what do you want to do with the results of the query? Calculate a value, say a sum? Or iterate over items and output the values? Thanks for your cooperation.


#6

yes of course, here is my real use case :
i want to merge cells as following
my model is List of Cities

  • CityName
  • CountryName

I want to merge cells for different cities with the same country name.


#7

please see the result document i want to achieve
image.png (1.8 KB)


#8

@miniseb31,

Thanks for the details. We will keep you posted on further updates.