Forum Discussion

JC2022's avatar
JC2022
Helper III
3 years ago
Solved

Record and List to Table

Hi, Can you please help me with a json datasource. I have lists and records as shown below, but I would like to create a Table from it.   1. See the column data.items. It is a column with "Record"...
  • ppm1's avatar
    ppm1
    3 years ago

    Make sure you select your value column for the values in your pivot and choose "Don't Aggregate".

    Or here is an expression you can put in a custom column. Replace Custom with your column that has your list of records (before you expand, pivot, etc.).

    let 
    inputlist = [Custom],
    fields = List.Transform(inputlist, each _[name]),
    values = List.Transform(inputlist, each _[value]),
    result = Record.FromList(values, fields)
    in 
    result

     

    Pat