Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

JSON - Remove Specific Row/Column

Dear Power BI Community,   I was hoping to see if anyone had worked around this issue before. I am making an API call through Python to get data from a service that is in the JSON format.   I am ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Anonymous  not sure if this answers your question as I might need more context. Are you just trying to parse the JSOn object and only return the elements except for "customer notes". If so I recommend trying the json-normalize library. Try "from pandas.io.json import json_normalize" then "json_normalize(#API Response JSON Object#)" to convert the json object into a DF you want. From there simply parse the DF and do not extract the values of "customer notes" and feed this data into a new data structure that you can feed into Power BI via CSV or however else you are doing it. Apologies if I totally misunderstood the context or what you were asking for. Best!