Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I need to create a calculated column in the Cat table (data model below) for filtering purposes. I want to see the total count of Period ID for each Cat ID. Both fields are highlighted in yellow. I do not want to use USERELATIONSHIP. PBIX File Link
Thank you for taking the time to read!
Solved! Go to Solution.
Column = CALCULATE(DISTINCTCOUNT(Period[Period ID]),TREATAS({[Group ID]},Period[Group ID]))
What made you use the bidirectional relationship? I would change the data model to