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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
klehar
Helper V
Helper V

Having a denormalized table from multiple tables in a star schema

Hi,

 

I have 3 tables related to Student. You can see the model in the attachment.

 

All I want to show is show Student ID in the very first column from the first table(Dim Table)

Then Column2 from Table 2 (Fact Table) (default aggregation : sum)

Then Column3 from Table 3 (Fact Table) (default aggregation : sum)

 

Whenever I try to do this, I get wierd errors. Not sure how I can resolve the same.

klehar_0-1624038217686.png

 

Changing relationships to m:m doesn't look like a good solution

Hers the pbix link

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @klehar ,

 

It can be solved by changing the direction of relationship.

3.png

2.png

 

Best Regards,

Stephen Tao

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @klehar ,

 

It can be solved by changing the direction of relationship.

3.png

2.png

 

Best Regards,

Stephen Tao

 

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

Ashish_Mathur
Super User
Super User

Your relationships are wrong in both tables.  You'll understand from the screenshot

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
CNENFRNL
Community Champion
Community Champion

As far as I'm concern, I agree on your data model. It's inevitable to run into issues of filter propagation, say, when you slice Donation[Year], the filter can't propagate to 'Student Subject' table in a natural way. The solution I recommend is to make the best of Expanded Table.

https://www.sqlbi.com/articles/expanded-tables-in-dax/


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Expanded tables have been confusing to me. Can you explain how I can make use of in this case.

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 Kudoed Authors