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
E_K_
Helper III
Helper III

USERELATIONSHIP Function so user only needs to use one slicer with RANKX values

Hi there,

 

I',m trying to write a measure that ensures ALL values in both the 'Release Success Data'[Combined Distinct Clients] and 'Incidents'[Client] columns are used as the pretext for ranking measures that calculate rankings in each dataset.

 

Ideally I'd like to be able to consolidate both values into one visual but can't quite get the DAX to work. I have an indirect (Many-Many - no option with that here) relationship betwen 'Release Success Data' and 'Incidents' on the 2 client columns however don't quite know how to adjust that into my RANKX measures for Release Success.

 

what I have for
"Incident Volume" 

Incident Volume Rank =
                    RANKX(ALL('Incidents'[Client]), [Incidents per client], ,DESC)  
What I currently have for Release Success ranking among clients:
Rank Succcess =
       RANKX(ALL('Release Success Data'[Combined Distinct Clients]), [R.Success Rate] ,,ASC)
 
 
What I need is some kind of activitation in the Rank Succcess measure to activate the relationship to make PowerBI understand I want to really use ALL('Incidents'[Client]) at the start of that measure rather than referring to another column. 
 
I am unable to use a bridge table as I have the Dates column connecting the 2 tables in the way to prevent us to be able to consolidate the clients into one - even in that scenario I need to activate the indirect relationships anyways so need to know how to figure that in my DAX.
 
Give me a shout if you have more questions
1 ACCEPTED SOLUTION
E_K_
Helper III
Helper III

Hi I figured it out myself. Thanks

View solution in original post

3 REPLIES 3
E_K_
Helper III
Helper III

Hi I figured it out myself. Thanks

Anonymous
Not applicable

Hi there!

May I ask what the solution was? I'm currently having a similar issue and would appreciate it if you could share the solution! 

v-zhangti
Community Support
Community Support

Hi, @E_K_ 

 

Can you provide more sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel.

 

Best Regards,

Community Support Team _Charlotte

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

 

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.