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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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