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
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
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.