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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jeongkim
Post Prodigy
Post Prodigy

Get text value after particular word in dax

Hi,

 

I wanna get FHDB only which after 'unitName='.

Please help 

 

1400 unitName=FHDB path=/SMOD_R-1/rf_ext1/RMOD_R-1/opt_if2/RMOD_R-2/

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

5 REPLIES 5
HarishKM
Memorable Member
Memorable Member

@jeongkim Hey,
Try below dax as my understanding

UnitName =
VAR StartPos = SEARCH("unitName=", [YourColumnName]) + 9
VAR EndPos = SEARCH(" ", [YourColumnName] & " ", StartPos) - 1
RETURN
MID([YourColumnName], StartPos, EndPos - StartPos + 1)

Thanks

Harish KM

Please accept this as a solution if this solves your problem and give kudos as well.

v-achippa
Community Support
Community Support

Hi @jeongkim,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @Ahmedx and @MasonMA for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @jeongkim,

 

We wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @jeongkim,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

Ahmedx
Super User
Super User

pls try

Screenshot_2.png

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors