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.
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] )
)
Solved! Go to Solution.
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.
@12Bowers12 , what are you summarizing here?
You are just taking a few columns. and using use relation, you might end getting entire data
Thanks, I want to get the Broker and Date information from the two respective tables given any written policy.
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
@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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |