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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Split column containing 3 dates and find max date

Hi all,

 

I am a PowerBI newbie so please direct me to the correct forum if this question does not belong here.

 

I have a column called FromDate with the below content -

 

FromDate
2020-06-18T00:00:00
2020-01-31T00:00:00;2022-03-23T00:00:00;2020-11-17T00:00:00
2020-02-03T00:00:00;2021-04-12T00:00:00

 

I am looking to find the max date for this column. Any help is greatly appreciated.

 

Kind Regards,

 

R

1 ACCEPTED SOLUTION
jameszhang0805
Resolver IV
Resolver IV

1st Step : Split column by separator ; in Power Query , then add index column .
微信图片_2.png

 

 

 

2nd Step : unpivot the table

jameszhang0805_0-1613488159637.png

3rd Step : Wirte Dax code like below 

jameszhang0805_1-1613488206550.png

 

View solution in original post

1 REPLY 1
jameszhang0805
Resolver IV
Resolver IV

1st Step : Split column by separator ; in Power Query , then add index column .
微信图片_2.png

 

 

 

2nd Step : unpivot the table

jameszhang0805_0-1613488159637.png

3rd Step : Wirte Dax code like below 

jameszhang0805_1-1613488206550.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors