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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
saksham_kumar
Frequent Visitor

Custom rows extraction

Hi my source table looks like:

 

NameAmount
ABC 14
ABC 25
ABC 39
XYZ3
MNO1
PQR4

 

In my expected outcome, I want to show data such that the 3 ABCs that is ABC1, ABC 2 and ABC 3 are summed up to show table like:

 

NameAmount
ABC18
XYZ3
MNO1
PQR4

 

Can I do thi using Search() function, filter etc. ?

Please suggest a way.

 

Thanks!

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@saksham_kumar ,

 

You can do this in power query, click query editor-> Transform, then click split like below:

Capture.PNG 

 

Then remove the useless column and click group by as below:

2.PNG3.PNG

 

Finally you will achieve the result:

4.PNG 

 

Community Support Team _ Jimmy Tao

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-yuta-msft
Community Support
Community Support

@saksham_kumar ,

 

You can do this in power query, click query editor-> Transform, then click split like below:

Capture.PNG 

 

Then remove the useless column and click group by as below:

2.PNG3.PNG

 

Finally you will achieve the result:

4.PNG 

 

Community Support Team _ Jimmy Tao

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

Hey this helps. 

 

Thanks!

Helpful resources

Announcements
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
Top Kudoed Authors