cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AClerk New Contributor
New Contributor

Create a list of values with same ID

Edit the edit:
Solved the duplications as well.

 

EDIT:
I have solved the issue, but now, when I join the table based on the EMP_ID, I have duplications.

How can I avoid those?

 

Original -->

Hi All,
I am trying to get all values related to the same ID.

For example I have employee id and end dates. EMP_ID is not unique in this table.
I would like to create a calculated columne with all end dates related to the same employee id (List_of_End_Dates),

 

EMP_IDEND_DATEMore_ColumnsList_of_End_Dates
11/02/2019?1/02/2019; 6/03/2019
25/06/2018?5/06/2018; 18/01/2019
319/03/2019?19/03/2019
16/03/2019?1/02/2019; 6/03/2019
42/02/2019?2/02/2019
218/01/2019?5/06/2018; 18/01/2019
93/04/2019?3/04/2019
1521/04/2019?21/04/2019

 

How is that possible?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
AClerk New Contributor
New Contributor

Re: Create a list of values with same ID

Managed to achieve this:

List = CALCULATE(CONCATENATEX('Table','Table'[end_date],"; "), ALLEXCEPT('Table','Table'[EMP_id]))

Seems to work Smiley Happy

 

Cat LOL

 

 

1 REPLY 1
AClerk New Contributor
New Contributor

Re: Create a list of values with same ID

Managed to achieve this:

List = CALCULATE(CONCATENATEX('Table','Table'[end_date],"; "), ALLEXCEPT('Table','Table'[EMP_id]))

Seems to work Smiley Happy

 

Cat LOL

 

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 149 members 1,746 guests
Please welcome our newest community members: