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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Power BI Dataset creation

Hi,

 

I have a report requirement which has premium as well as loss data. The premium base table has around 400 million records historically and the loss base table has around 5 million records. There are some filters and WHERE conditions on the tables which would limit the number of records.

 

I have a main SQL query for the main report with 4 sub-queries under it (i.e. 4 select statements using UNIONALL)

1. QTD calculations for Loss

2. ITD calculations for Loss

3. QTD calculations for Premium

4. ITD calculations for Premium

 

From a performance perspective, I wanted to know on what would be the best practice to create the dataset i.e a single master dataset would be better or having 4 separate datasets (2 for premium and 2 for loss).

 

I was thinking having 1 dataset would give the user the flexibility of using just 1 report and view data for premium and loss both int he same report but not sure on the performance part, hence any advice or inputs would be appreciated.

 

Regards,

Vishy

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Refer, if this can help

https://community.powerbi.com/t5/MBAS-Gallery/Aggregation-and-composite-model-Microsoft-Power-BI-fas...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Refer, if this can help

https://community.powerbi.com/t5/MBAS-Gallery/Aggregation-and-composite-model-Microsoft-Power-BI-fas...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks @amitchandak , that was helpful.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors