Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

Managed to achieve this:

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

Seems to work 🙂

 

Cat LOL

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Managed to achieve this:

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

Seems to work 🙂

 

Cat LOL

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.