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 2018-05-11 09:17:28

shashankgoyal3
Member
From: India
Registered: 2017-11-07

How to use distinct values from CSV datasource

Hi,

I have a CSV datasource from which I am displaying Names to user in BIRT report. Now, there is a requirement of passing multiple id's with same name to my BIRT report.

i.e
Id;Name
1001;xyz
1002;xyz
1003;xyz
1004;abc
1005;abc

I just want to show xyz & abc to use rather than xyz,xyz,xyz,abc,abc in drop down list.. Is there any way by which I can select distinct names and pass all id's to my report??


Regards
Shashank

Offline

#2 2018-05-14 10:39:54

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: How to use distinct values from CSV datasource

Hi Shashank,

you can use a script datasource for this: https://reportserver.net/en/guides/scri … tasources/
The script would read your CSV file and create the strings as you need them (in this case "xyz & abc").

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB