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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
HB13
Helper I
Helper I

Create a list filter with an inactive relationship

Hi PBI gang

 

I have two fact tables that have invalid relationships with a dim table

In my dim table I have a column that consists of RiskTypes. I want to group certain values from my fact tables by RiskType but because the relationships are inactive it does not reflect value per risktype correctly. 


I do not want to change the current data model as it will affect a lot of my other visuals, so I was wondering how to create a RiskType "measure" (with the USERELATIONSHIP function) can be used to group the fact table values.

Is this possible or is there another way around this?

Many thanks!

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @HB13 ;

You could create a measure like below:

dax =
CALCULATE (
    SUM ( 'A'[Value] ),
    FILTER ( ALL ( 'B' ), [RiskTypes] = MAX ( 'A'[RiskTypes] ) )
)

Or use USERELATIONSHIP .

If not ok , can you share a simple file and the result you want to output?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

NickolajJessen
Solution Sage
Solution Sage

When asking a question about your data model. Include picture of said data model and either a screen shot of the manage relationship tab in PBI or explaination of connections.

For other good tips on posting, make sure to visit the pinned thread:
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/2564882#M9069...

Hi @NickolajJessen 
My question was not with regards to a data model, I am asking how to group values by a category using the inactive relationship between my tables. 
Thanks though. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.