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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Torbennb
Frequent Visitor

Connect to data in object

Our developers suggest to deliver data endpoint for reporting in this format:

(Purpose is to get the relation between groups and members of groups)

 

Would that be possible to use in Power Bi: (expand in Power Quiry)

[
  {
    "GroupId": "1",
    "MemberIds": [
      "1",
      "2",
      "3",
      ...
    ]
  },
  ...
]

I have the relation between the memberid and the member in another table.

1 ACCEPTED SOLUTION
saud968
Super User
Super User

you can use this data format in Power BI and expand it in Power Query. Here's how you can do it: Load the JSON Data: In Power BI, go to Home > Get Data > JSON. Load your JSON file. Expand the Data in Power Query: Once the data is loaded, it will appear in the Power Query Editor. You will see a column named MemberIds which contains lists of member IDs. Click on the Expand icon (two arrows) next to the MemberIds column to expand the lists into individual rows. Merge with Member Table: Load your member table into Power BI. In Power Query Editor, go to Home > Merge Queries. Select the GroupId and MemberId columns from both tables to create the relationship. Finalize and Load: After merging, you can perform any additional transformations if needed. Click Close & Apply to load the data into Power BI. This will allow you to analyze the relationship between groups and their members effectively.

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

View solution in original post

2 REPLIES 2
Torbennb
Frequent Visitor

Thank you very much for confirming.

 

saud968
Super User
Super User

you can use this data format in Power BI and expand it in Power Query. Here's how you can do it: Load the JSON Data: In Power BI, go to Home > Get Data > JSON. Load your JSON file. Expand the Data in Power Query: Once the data is loaded, it will appear in the Power Query Editor. You will see a column named MemberIds which contains lists of member IDs. Click on the Expand icon (two arrows) next to the MemberIds column to expand the lists into individual rows. Merge with Member Table: Load your member table into Power BI. In Power Query Editor, go to Home > Merge Queries. Select the GroupId and MemberId columns from both tables to create the relationship. Finalize and Load: After merging, you can perform any additional transformations if needed. Click Close & Apply to load the data into Power BI. This will allow you to analyze the relationship between groups and their members effectively.

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.