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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Database structure advice

Hi,

 

I have a database with 3 tables:

Actuals (Volumes)

Actuals (Money)

Budget (Volumes)

 

Each of those tables has other tables linking into them (branch/region/area mappings, fiscal period mappings, product description mappings and public holiday mappings)

 

I'd like to create a single table with the acutals and budget (with mappings coming off it) to make the database later on (i.e. in one column I can define whether a row is actuals/budget and in another column I can define wither a row relates to volume or money)

 

I tried appending the 3 main tables together and keeping the orginal mappings but the approach failed, because table links require at least one table's values to be unique. (for example actual data has product codes but the budget does not, resulting in many NULL values in the product code field - then when I try to link the product descriptions table, there is a failure).

 

Please can you tell me how the best approach for structuring this database? Is it to merge the main tables rather than append them?

 

Thanks,

 

CM

2 ACCEPTED SOLUTIONS
tringuyenminh92
Memorable Member
Memorable Member

Hi @Anonymous,

 

You need to have some master/dim tables like products, time cause your 3 tables are transaction tables, so you could choose new table and values() or distinct() function to achieve this.  And you could refer topic Budget Patterns of Marco Russo.

 

(Sales and Budget tables in topic are your transaction tables like Actuals, Budgets)

View solution in original post

Hi @Anonymous,

 

yes, it's same situation, there is no different

View solution in original post

5 REPLIES 5
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Have you resolved your issue? If you have, please mark the helpful reply as answer, or share your solution, so that more people can find workaround form here. Thanks for understanding.

Thanks.
Angelia

tringuyenminh92
Memorable Member
Memorable Member

Hi @Anonymous,

 

You need to have some master/dim tables like products, time cause your 3 tables are transaction tables, so you could choose new table and values() or distinct() function to achieve this.  And you could refer topic Budget Patterns of Marco Russo.

 

(Sales and Budget tables in topic are your transaction tables like Actuals, Budgets)

Anonymous
Not applicable

Hi tringuyenminh92,

 

Thanks - the budget files aren't split by product - the budget files are just split by branch/fiscal period/GL account. Does that make a difference?

 

CM

Hi @Anonymous,

Just as @tringuyenminh92 posted, filter your resource table after some operation. You can use the transaction relationship between two tables, and construct them.

Best Regards,
angelia

Hi @Anonymous,

 

yes, it's same situation, there is no different

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.