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.

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/

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors