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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TimRattray
New Member

Editing the content of the data source

We have a spreadsheet that is exported from a third party regularly.  The spreadsheet has too much detail in the field we want to report on in Power BI.  For example...

  • iPad Air 2 (64 GB Silver)
  • iPad Air 2 (64 GB Space Grey)
  • iPad Air 2
  • iPad Air 2 (256 GB Silver)

I don't care about the colour! (or the RAM.)   How do I edit, in Power BI, that field?  This is easy in Excel:- LEFT(A2, FIND("(",A2)-1) results in "iPad Air 2" for all of them, which allows us to count them.

  • iPad Air 2

 

How do I do this in Power BI?  I don't want to edit the spreadsheet each time it is created.

Thanks

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @TimRattray ,

It seems that you want to edit your data source before create the report in Power BI.

Normally, we could shape and clean the data source in Query Editor.

If I understand your requirement correctly that you want to shape the data below.

  • iPad Air 2 (64 GB Silver)
  • iPad Air 2 (64 GB Space Grey)
  • iPad Air 2
  • iPad Air 2 (256 GB Silver)

If you want to only retrieve the data iPad Air 2, you could use the feature Split column in Query Editor.

If you still need help, please share your data sample and your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
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

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @TimRattray ,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share some data sample which could reproduce your scenario and your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @TimRattray ,

It seems that you want to edit your data source before create the report in Power BI.

Normally, we could shape and clean the data source in Query Editor.

If I understand your requirement correctly that you want to shape the data below.

  • iPad Air 2 (64 GB Silver)
  • iPad Air 2 (64 GB Space Grey)
  • iPad Air 2
  • iPad Air 2 (256 GB Silver)

If you want to only retrieve the data iPad Air 2, you could use the feature Split column in Query Editor.

If you still need help, please share your data sample and your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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