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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Ankurdatascienc
Regular Visitor

Extracting Certain Characters from Text Column

I have a column where data is in Format of Designation.Function.Skill.Domain and I want to extract only SKill.Domain. Please see the below photo and let me know what is the mistake I am doing.

 

Ankurdatascienc_0-1744271264862.png

 

2 ACCEPTED SOLUTIONS
bhanu_gautam
Super User
Super User

@Ankurdatascienc , Try using

DAX
Extract_Skill_Domain =
VAR FirstDot = SEARCH(".", 'Workday Report'[Job Name], 1, -1)
VAR SecondDot = SEARCH(".", 'Workday Report'[Job Name], FirstDot + 1, -1)
VAR ThirdDot = SEARCH(".", 'Workday Report'[Job Name], SecondDot + 1, -1)
RETURN
IF(
FirstDot > 0 && SecondDot > 0 && ThirdDot > 0,
MID('Workday Report'[Job Name], SecondDot + 1, LEN('Workday Report'[Job Name]) - SecondDot),
BLANK()
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

gmsamborn
Super User
Super User

Hi @Ankurdatascienc

 

Is Power Query an option?

 

If so, you could:

  • Duplicate the [Job Name] column.
  • Split by delimiter
    • “.” As delimiter
    • Starting from right
    • gmsamborn_0-1744582745182.png
    • That should give you your [Domain] column.
  • Using the “left part” of the previous step, repeat the process.
    • That should give you your [Skill] column.
  • Delete the resulting “left part” and concatenate and/or rename the new columns accordingly.

I hope this helps.

 



Proud to be a Super User!

daxformatter.com makes life EASIER!

View solution in original post

5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Hi Ankurdatascienc,

We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.

If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi Ankurdatascienc,

We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.

If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.

Thank you.

gmsamborn
Super User
Super User

Hi @Ankurdatascienc

 

Is Power Query an option?

 

If so, you could:

  • Duplicate the [Job Name] column.
  • Split by delimiter
    • “.” As delimiter
    • Starting from right
    • gmsamborn_0-1744582745182.png
    • That should give you your [Domain] column.
  • Using the “left part” of the previous step, repeat the process.
    • That should give you your [Skill] column.
  • Delete the resulting “left part” and concatenate and/or rename the new columns accordingly.

I hope this helps.

 



Proud to be a Super User!

daxformatter.com makes life EASIER!
v-pnaroju-msft
Community Support
Community Support

Thank you, @bhanu_gautamfor your response.

 

Hi @Ankurdatascienc,

 

We would like to check if the solution provided by @bhanu_gautam  has resolved your issue. If you have found an alternative approach, we encourage you to share it with the community to assist others facing similar challenges.

If you found the response helpful, please mark it as the accepted solution and add kudos. This recognition benefits other members seeking solutions to similar queries.

 

Thank you.

bhanu_gautam
Super User
Super User

@Ankurdatascienc , Try using

DAX
Extract_Skill_Domain =
VAR FirstDot = SEARCH(".", 'Workday Report'[Job Name], 1, -1)
VAR SecondDot = SEARCH(".", 'Workday Report'[Job Name], FirstDot + 1, -1)
VAR ThirdDot = SEARCH(".", 'Workday Report'[Job Name], SecondDot + 1, -1)
RETURN
IF(
FirstDot > 0 && SecondDot > 0 && ThirdDot > 0,
MID('Workday Report'[Job Name], SecondDot + 1, LEN('Workday Report'[Job Name]) - SecondDot),
BLANK()
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.