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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
papoyedits
Frequent Visitor

Multi-level/Nested table from Direct Query data

Hi, so I'm in the process of migrating some reports into PowerBI from another system, and need some help to recreate the report in PowerBI (or something close enough to it). In essence, what I want to create is like below image, where there is a multi-level/nested table (not really sure what to call it). The data is retrieved from a database View using a Direct Query and would look something like below. 

Data-example:

site_idsite_nameregioncountryservice_idproductcase_nocase_titlecase_type
12345My siteStockholmSwedenService 1Product 111111Case 1support
54321Other siteOsloNorwayService 2Product 222222Case 2support
54321Other siteOsloNorwayService 3Product 333333Case 3support
54321Other siteOsloNorwayService 3Product 344444Case 4support
...........................

Desired end-result:

papoyedits_0-1657616003611.png

As per request, here's a simple (graphically rough) result using above data. Note that the table is entirely manual to show the basic structure I'm after

papoyedits_1-1657624211014.png

Basically, a Site has at least one Service which in turn can have many Cases, so there's a couple of groupings to be done. 

Making just a simple table that looks essentially like the raw data is easy enough, but I'd like to keep the visuals of the old report as much as possible (users hate change and all that). 

I'm a complete rookie in PowerBI so I'm not really familiar with what visualizations would be applicable, and how to potentially restructure the data, so if you can point me towards some relevant docs/guides, or even provide a potential solution directly, that would be fantastic, but will take anything I can get!

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @papoyedits 

 

There is currently no view that directly fits your expectations. But you can try the following methods.

vzhangti_0-1657871303128.pngvzhangti_1-1657871319104.png

Does this meet your desired outcome?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @papoyedits 

 

There is currently no view that directly fits your expectations. But you can try the following methods.

vzhangti_0-1657871303128.pngvzhangti_1-1657871319104.png

Does this meet your desired outcome?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dhacd
Resolver III
Resolver III

Hi 

By using the data example that you have given, 
Can you create a sample output in Microsoft Excel and share a screen snap so that we can have a better understanding.

Regards,

Atma.

I've added a screenshot of the rough structure I'm after. Hopefully it makes it a bit clearer

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.