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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
charurock
Frequent Visitor

The UseRelationship() and CrossFilter() functions may not be used when querying 'fact_restarts'

Hello Team,

 

A user is getting below error while accessing some of the drill throughs in PowerBI dashboard in service.

We have indeed used USERELATIONSHIP function in our measures..

 

Can you help as it is quite urgent and business is impacted.

@Greg_Deckler  

@tamerj1 

@johnt75 

@Jihwan_Kim 

@FreemanZ 

@amitchandak 

2 REPLIES 2
charurock
Frequent Visitor

Super, thanks a lot

Greg_Deckler
Super User
Super User

@charurock Could be this:

link to forum

Marco's answer:

The use of USERELATIONSHIP is not supported in security roles. 
Use ALL and FILTER manually, check the "virtual relationship" pattern here:

http://www.daxpatterns.com/handling-different-granularities/

USERELATIONSHIP function cannot be used while querying table 'MyTable' because of the row level secu...

 

Otherwise, need more information than what has been provided.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors