cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anshpalash
Helper II
Helper II

Split Table

anshpalash_0-1630288324368.png

Hi,

I want to split this table into two. The table below the row which says "Parameters" should be the second table. The number of IDs in every file is different. So, the row number containing "Parameters" would be different for every file. 

Is there any way I can split the above table starting at the row that says "Parameters"? Would really appreciate any help. Thank you!

2 ACCEPTED SOLUTIONS

Hi,

File attached (see below signature).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

v-yalanwu-msft
Community Support
Community Support

Hi, @anshpalash ;

You can use the Ashish_Mathur's method, and there is another method you can also try:

1.Transpose table in power query .

vyalanwumsft_0-1630462861016.png

 

2.remove after "Parameters" columns

vyalanwumsft_1-1630462981968.png

3.Transpose table

vyalanwumsft_2-1630463051810.png

The same method apply second table.

Best Regards,

Community Support Team_ Yalan Wu
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

8 REPLIES 8
v-yalanwu-msft
Community Support
Community Support

Hi, @anshpalash ;

You can use the Ashish_Mathur's method, and there is another method you can also try:

1.Transpose table in power query .

vyalanwumsft_0-1630462861016.png

 

2.remove after "Parameters" columns

vyalanwumsft_1-1630462981968.png

3.Transpose table

vyalanwumsft_2-1630463051810.png

The same method apply second table.

Best Regards,

Community Support Team_ Yalan Wu
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

Ashish_Mathur
Super User
Super User

Hi,

Where will the Date and the first 5 rows go?  Please show the expected result very clearly.  Also, share data in a form that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

all rows above "Parameters" would be a separate table. All rows below "Parameters" will be a separate table. 

Will the rows above the Parameter row always be 8?  Also, as requested earlier, share data in a form that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

No, the number of rows above parameter will not always be 8. That number changes for every file. Here is the data:

 

Date   
27-Aug  
   
IDSale 
110 
215 
325 
423 
Parameters  
1LocationAustin
1TypeVehicle
2LocationIndy
2TypeBoat
3LocationSan Jose
3TypeVehicle
4LocationNY
4TypeBike 

 

Thank you!

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

The link is not working for me. Thank you

Hi,

File attached (see below signature).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors