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
Anonymous
Not applicable

Need Help with import if JSON with seperate keys and values

Hello community, 

 

I have a slight problem with importing an JSON over a web API (I am fairly new to power Bi).  My issue is that I get a separate keys list and a value list looking like this: 

PowerUser_Ger_0-1602576309285.png

In the keys list there are the header information like date, name for example. And in the values list there are the data that matches the headings. When I convert the values list into a table and then expand the table into new lines it puts all the data in one column like this, everything is written in a column one below the other.

PowerUser_Ger_1-1602576506610.png

 

How do I manage that I get the keys list as the headers and the values corresponding to the headers? I tried to extract the values and separate them with an ; and then split them. But then I have to manually do all the headers by hand.

 

I hope this is somewhat understandable 🙂

 

1 ACCEPTED SOLUTION

Do the values come in groups of 11? In that case you can change their index to a modulo (is repeated groups of 0..10

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Expand both lists to tables

Add Index column to both tables

merge the tables based on the index column

Anonymous
Not applicable

Hey 

 

I am running into a problem here. My keys table has only 11 columns and my values table has 400 columns . 

How do I merge 2 tables on that kind of index?

 

 

Do the values come in groups of 11? In that case you can change their index to a modulo (is repeated groups of 0..10

Anonymous
Not applicable

Hey Ibendlin,

 

I tried your modulu Version and it worked also. I also found this Solution to the Problem. I just had to rename some of the Columns.

 

https://community.powerbi.com/t5/Power-Query/Multi-Dimensional-Json-file-to-Table/td-p/113667

 

Thanks a lot<3

Helpful resources

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

Top Kudoed Authors