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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
av9
Helper III
Helper III

Combining mutilpe dates into one field

Hi, I have a table of customer meetings, and I want to summarise this so YTD dates appear in one cell. 
I.e. from this:

CustomerMeeting SubjectDate
JohnCoffee catchup10/08/2019
JohnTeleconference01/07/2020
JohnZoom catchup10/10/2020
JamesCoffee catchup10/10/2020
JamesPresentation05/05/2020

 

To this:

CustomerMeetings YTD
John01/07/2020, 10/10/2020
James10/10/2020, 05/05/2020
1 ACCEPTED SOLUTION

HELLO @av9,

I'm not so sure how the table is added, but I think you can try using the CONCATENATEX function to control the summarized table to extract and concatenate these date field values.

Measure =
VAR summary = 'your summary table formula'
RETURN
    CONCATENATEX (
        DISTINCT ( SELECTCOLUMNS ( summary, "Date", [Date] ) ),
        [Date],
        ","
    )

Dax CONCATENATEX function

Best regards

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@av9 , why 10/10 is first column in case of James

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

The 10/10/2020 is the meeting date field.

 

So looks like this 

 

| Name | Meeting Subject | Date            |

| James | Coffee catch up  | 10/10/2020 |

| James | Presentation       | 05/05/2020 |

 

Then Summarise so it looks like this:

 

| Name | Date |

| James | 05/05/2020, 10/10/2020 |

 

 

 

HELLO @av9,

I'm not so sure how the table is added, but I think you can try using the CONCATENATEX function to control the summarized table to extract and concatenate these date field values.

Measure =
VAR summary = 'your summary table formula'
RETURN
    CONCATENATEX (
        DISTINCT ( SELECTCOLUMNS ( summary, "Date", [Date] ) ),
        [Date],
        ","
    )

Dax CONCATENATEX function

Best regards

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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