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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mulder2542
Frequent Visitor

Relationship with calculated table doesn't appear when using dataset as data source

We have a dataset using a star schema, which is used as a data source for several reports. This works fine, however one issue we have is that a couple of dimension tables have thousands of entries, so the filters on those are rather inconvenient to use.

 

So I looked into a couple of options to reduce the fields by only keeping the ones whose keys are present in the fact table. One option that seemed feasible, is to create a filtered copy of the dimension table (via CALCULATETABLE(Dimension, Fact)) and then create a 1-1 relationship between both, using the filtered copy to filter. This works when tested in a report within the dataset file itself.

 

When importing the published dataset for use in another report however, the relationship between the dimension table and the filtered calculated table does not show up and the filter therefore won't work. What could be the reason of this?

 

2 REPLIES 2
HotChilli
Super User
Super User

Powerbi didn't auto-create the relationship?  Try to create it manually and see if there are any feedback messages.

The relationship is already in the model, but it's gone when you connect a different report/PBIX file to it. It doesn't seem possible to make any manual changes to the model of reports that use another dataset to get data, so it can't be reinstated there.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.