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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
majraj
New Member

Import xml data with many children nodes

Hello

 

How can i use data modeling tool to get one table from data below ?

Table should contain No,Customer,Item,Quantity

 

Thx

 

Regards

 

 

<data  register="Records" systemversion="1">
 <Record>
  <No>2004001</No>
  <Customer>001</Customer>
  <rows>
   <row rownumber="0">
    <Item>10101</Item>
    <Quantity>10</Quantity>
   </row>
   <row rownumber="1">
    <Item>10102</Item>
    <Quantity>5</Quantity>
   </row>
   <row rownumber="2">
    <Item>10107</Item>
    <Quantity>20</Quantity>
   </row>
   <row rownumber="3">
    <Item>20102</Item>
    <Quantity>1</Quantity>
   </row>
  </rows>
 </Record>
 <Record>
  <No>2004002</No>
  <Customer>002</Customer>
  <rows>
   <row rownumber="0">
    <Item>10104</Item>
    <Quantity>2</Quantity>
   </row>
   <row rownumber="1">
    <Item>10105</Item>
    <Quantity>1</Quantity>
   </row>
  </rows>
 </Record>

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @majraj,

 

It prompted error message when I tried to import above XML data, please check whether the posted code is complete and correct.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello

 

</data>  is missing at the bottom

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.