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
Anonymous
Not applicable

USERELATIONSHIP on an inactivated relation

Hi all,

 

I created the attached model to highlight my problem.
In the tkt table I try to calculate the creation date of the corresponding company.
I have created the creation column which only works when I activate the relationship between the account column of the company table and the company column of the tkt table.

The use of userelationship does not work when this relationship is not active.
It seemed to me that its purpose was precisely to get rid of it.

Hope you'll be fine with my french version.
Thank you for your help.

The tablesThe tablesThe inactive relationshipThe inactive relationshipThe errorThe error

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you, it's working with "new column = maxx(filter(company,tkt[entreprise] = company[account]),company[creation])" to get the date of creation of the enterprise.

 

Any idea why USERELATIONSHIP is'nt working ?

 

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

 

If @amitchandak has solved your problem, please accept his reply as a solution so that people who may have the same question can get the solution directly.

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

You are creating a new column to bring what?

You can do that like this

new column = maxx(filter(company,tkt[enterpise] = company[company]),company[ref])

 

Ideally, the date to the company join should be inactive

Or create a common dim

company = distinct(union(all(tkt[enterpise]),all(company[company])))

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
Anonymous
Not applicable

Thank you, it's working with "new column = maxx(filter(company,tkt[entreprise] = company[account]),company[creation])" to get the date of creation of the enterprise.

 

Any idea why USERELATIONSHIP is'nt working ?

 

Also, use crossfilter to remove the other join.

userelation to add the one relation and cross filter to remove the other.

Add company and remove the date . remove can be done for another table not only for this table.

You have to make sure there are no two paths

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

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