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

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

Reply
12Bowers12
Helper V
Helper V

activate relationship for summarize

Good morning, everyone,

In the following query, the relationship between table Policy and DateDimension is actitvated by using UserRelationship.

However, this argument does not filter Summarize.

Any ideas? 

Thank you. 

DL

 

   CALCULATETABLE (

       SUMMARIZE (Policy, Broker[BROKER],'DateDimension'[DateKey]),  

       USERELATIONSHIP( Policy[EFFECTIVE_DATE], 'DateDimension'[DateKey] )

   )

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@12Bowers12 

USERELATIONSHIP() only activates the inactive relationship between the tables, that is not a filtering expression. It would best best if you can provide short sample and describe how tables are related by which columns


Paul Zheng _ Community Support Team
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

6 REPLIES 6
amitchandak
Super User
Super User

@12Bowers12 , what are you summarizing here?

You are just taking a few columns. and using use relation, you might end getting entire data

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks, I want to get the Broker and Date information from the two respective tables given any written policy.

Anonymous
Not applicable

@12Bowers12 

USERELATIONSHIP() only activates the inactive relationship between the tables, that is not a filtering expression. It would best best if you can provide short sample and describe how tables are related by which columns


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

Thank you, do you know how to change to English? DL

Anonymous
Not applicable

@12Bowers12 

https://community.powerbi.com/t5/Desktop/activate-relationship-for-summarize/td-p/1319694

 

This link? There are English and Spanish version forums they are synchronized.

 

Regards
Paul

Thank you, Paul. It works now.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors