Forum Discussion

Txtcher's avatar
Txtcher
Helper V
1 year ago
Solved

Best Practice Building Data Model Using SalesForce source

Hello, I have been developing my first Power Bi report over the past several months and am still learning. I am currently reviewing the model built and am wondering if I should build dimension table...
  • v-hashadapu's avatar
    1 year ago

    Hi Txtcher , Thank you for reaching out to the Microsoft Community Forum.

     

    Yes, you should create separate dimension tables for Region, Program and Priority. This aligns with proper star schema modelling. It improves performance when slicing count based measures and keeps your model maintainable, especially with your multiple fact tables.

     

    To avoid impacting Salesforce refresh times, extract distinct values using reference queries in Power Query or better, load them via dataflows gen2 with scheduled or incremental refresh. For Region and Program, static tables work fine if they rarely change.

     

    For Status, if you're only reporting current status, keep it in the fact table. But if you're analyzing changes over time, create a status history fact table with Complaint ID, Status and StatusChangeDate, sourced from Salesforce's field history if available.