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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors