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

How to link independent dimension table with fact table

Hi Experts,

Need your help in this.

In our data model we have got a dimension which has no relationshup with Fact Table. The structure is as follows:

Capture11.JPG

As shown above, in the Category dimension we have category name in Rows and in Fact table we have individual columns for each category name. 

The expected output is :

Untitled11.png

I have tried an option of unpivoting the fact and create the relationship with Category dim. It works fine but increase  the number of rows which is not ideal.

Please advise what would be the best solution for this type of data model.

Thanks.

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Unpivoting your fact table is the way to go.  PowerBI is very good at handling tall narrow tables and they give you the most flexibility as well.

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

You've done it already.

Don't worry about the increase in rows.

jdbuchanan71
Super User
Super User

Hello @Anonymous 

Unpivoting your fact table is the way to go.  PowerBI is very good at handling tall narrow tables and they give you the most flexibility as well.

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