Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2019-02-27 17:23:22

FLU73
Member
Registered: 2018-10-25

Strange results with computation in filters (analytical.top)

Hello,

I've a simple case where the selected table fields in a dynamic list are :Customer, Year, value

I want to display a report with the top 5 of of customers.

I use a filter on the value column where the formula is : ${analytical.top(5)}

when excecuting the preview I get a result with 9 records !?
Values of agregation are correct, these 9 customers have the correct turnover calculated from all their invoices lines in the table.

As my table contains the lines of invoices, I apply an agregration on the value column.

NB : if I don't apply agregation, and select the Invoice Nr and line Nr, I get the top 5 of Invoice lines.

Offline

#2 2019-02-28 12:14:58

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Strange results with computation in filters (analytical.top)

Hi FLU73,

can you please post your exact version (rsversion.properties) and some screenshots that show the problem? You can use https://imgbb.com/ for posting these here.

Regards,
Eduardo

Offline

#3 2019-02-28 13:04:25

FLU73
Member
Registered: 2018-10-25

Re: Strange results with computation in filters (analytical.top)

Hi Eduardo,

RS version: 3.0.5-6005

here below is the screenshot of the filter definition to get Top(5)

Report-Server-Topn.png

and the result (9 records)

Report-Server-Topn-results.png

Offline

#4 2019-02-28 13:19:27

FLU73
Member
Registered: 2018-10-25

Re: Strange results with computation in filters (analytical.top)

Here is an overview of the underlying records of the source datawarehouse table, we can see when executing the query:
vbeln = invoice Nr
posnr = Invoice line Nr

Report-Server-query-preview.png

Offline

#5 2019-03-06 08:06:29

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Strange results with computation in filters (analytical.top)

Hi FLU73,

I created ticket RS-3352 for this and I will update here when we have more information.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB