cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
PBI_37
Regular Visitor

Question about data modeling

Hi everyone,

 

I have a question about my model.

I have 2 fact tables (actual and forecast) and 2 dimension tables (Products and Calendar).

I want to calculate the difference between the actual and the forecast at the BatchNum level.

It works at the Products level but not with the BatchNum.

Is it necessary to create a BatchNum dimension table?

 

PBI_37_0-1680452798464.png

Expected results :

PBI_37_1-1680452848019.png

 

Here is the link of the PBI file :

https://drive.google.com/file/d/1UwguKZWwl4dKBQMoDQBBPdxnS3rHLh9M/view?usp=share_link

 

Thank you for your help

 

 

 

 

2 ACCEPTED SOLUTIONS
vojtechsima
Memorable Member
Memorable Member

Hello, @PBI_37 ,
Yes, you're right. You can append both fact tables, keep only BatchNum column, remove duplicity and make that as third dimension and connect it back to the fact tables as normal dimension.

View solution in original post

PBI_37
Regular Visitor

Thank you vojtechsima

View solution in original post

2 REPLIES 2
PBI_37
Regular Visitor

Thank you vojtechsima

vojtechsima
Memorable Member
Memorable Member

Hello, @PBI_37 ,
Yes, you're right. You can append both fact tables, keep only BatchNum column, remove duplicity and make that as third dimension and connect it back to the fact tables as normal dimension.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors