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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

unable to edit a imported dataset.

Hello folks,

I have imported a dataset and I need to split the category column below into 2. I would like to have another column only with the values highlighted in the second pic. The issue is that I cannot transform it in Power Query because it is a template. Is there a way to create a measure or calculated column to split this field?

ROG_BI22_0-1649342828554.png

ROG_BI22_1-1649342866960.png

Thank you.

 

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You can create a column like below:-

column  = if(CONTAINSSTRING([category], "Planned Maintenance"),"Planned Maintenance")

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

2 REPLIES 2
Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You can create a column like below:-

column  = if(CONTAINSSTRING([category], "Planned Maintenance"),"Planned Maintenance")

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Anonymous
Not applicable

Thanks a million, @Samarth_18 ! It was really helpful.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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