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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jesly_ajin
Helper III
Helper III

To find the expiry date from a string in Power Bi

Hi All,

I have a power bi column as below in which the Certifications column gives me the Sr No; Certification Name; Start Date; End Date separated by semicolon. But every new certificate of the employee is separated by |.

SO, when I select a date on the slicer, I need to show those certificates that expired before that date.

Please help.

 

jesly_ajin_0-1667309706979.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jesly_ajin ,

 

According to your screenshot, I can see that there will be multiple certifications in each title. Here I suggest you to try Split function in Power Query Editor to transform [Certifications] in your table.

>Split [Certifications] by " | " by row > Split [Certifications] by ";" by columns. > Rename the column names.

RicoZhou_0-1667376313498.png

Then the calculation will be easier.  You need to create an unrelated Dimdate table.

Calendar = CALENDARAUTO() 

Measure:

Measure = 
IF(MAX('Table'[End Date])<MAX('Calendar'[Date]),1,0)

Add this measure into visual level filter and set it to show items when value = 1.

RicoZhou_1-1667376716664.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @jesly_ajin ,

 

According to your screenshot, I can see that there will be multiple certifications in each title. Here I suggest you to try Split function in Power Query Editor to transform [Certifications] in your table.

>Split [Certifications] by " | " by row > Split [Certifications] by ";" by columns. > Rename the column names.

RicoZhou_0-1667376313498.png

Then the calculation will be easier.  You need to create an unrelated Dimdate table.

Calendar = CALENDARAUTO() 

Measure:

Measure = 
IF(MAX('Table'[End Date])<MAX('Calendar'[Date]),1,0)

Add this measure into visual level filter and set it to show items when value = 1.

RicoZhou_1-1667376716664.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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