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
Diegoloubet
Regular Visitor

API upload: How to create a table with one row for titles another row for values.

Hi!,

I´ve uploaded into Power bi data using an API call. The data is a table, but what I see in Power BI is a row with a list of values for the titles and another row with a list with the rows of that table.

Diegoloubet_1-1674308059216.png

I would need to convine them some how using PowerQuery to create the actual table. I´ve tried pivot, unpivot and other transformations but I was not able to do it. I believe a formula will easy sort it out, but do not find which one. 

 

If I select the Columns List, convert into table, expand I get something like this: (these are the column titles)

Diegoloubet_0-1674475946964.png

If I select the "rows" list, convert to table and expand, I´ll get something like this: (this is the id of the values, and the values in the same order as the titles)

Diegoloubet_1-1674476038594.png

 

What I need is:

IDEpic % CompleteEpic assigned toEpic CommentsEpic IDEpic Name
7151264482758330911 Default (Unassigned) 7151264482758330911Design Spike for re-arechitected...
5790500850808504508value for id2value for id2value for id2value for id2value for id2
2 REPLIES 2
v-xiaoyan-msft
Community Support
Community Support

Hi @Diegoloubet  , 

Can you provide a simple sample to help us better solve your problem.
We need to see the format of the raw data to determine if it works.
Your demo can have only simple values and formats, please be careful not to provide sensitive information.

 

Best Regards,
Community Support Team _ Caitlyn

 

Thanks! I have edited my post to provide examples

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.