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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

USERELATIONSHIP visual has exceeded available resources

Hi all,

 

I´m curently using Azure analysis services and I´m having issues with USERELATIONSHIP, the  original measure( Mesaure1) works just fine but when I evaluate it within the function ( Measure2) , I get the error: visual has exceeded available resources. 

in the second one I have it taking into acocunt a different date table  because it is meant to be like this while Im filtering.

( having two date filters) 

 

Measure1 :=

CALCULATE (
DISTINCTCOUNT ( FACT_1[ID] ),
FILTER (
SUMMARIZE (
FACT_1,
FACT_1[ID],
"test", CALCULATE ( AVERAGE( ( FACT_1[CANAL] ) )
)),[test]=10
))

 

Maeasure 2:=
CALCULATE (
[Measure1],
ALL ( DIM_DATE),
USERELATIONSHIP( DIM_DATE[ID_fecha], DIM_DATE_2[ID_fecha] )
)

Thanks in advance. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I did solved my issue by changing the main measure ( Measure1) for this one: 

 

MeasureNew:=

VAR C10=  CALCULATETABLE(VALUES(FACT_1[ID]),FACT_1[CANAL]=10) // IDs within canal 10 

VAR C14= CALCULATETABLE(VALUES(FACT_1[ID]),FACT_1[CANAL]=14) IDs within canal 14

VAR EX10= EXCEPT(C10,C14)  unique IDS in canal 10 but non in canal 14 

RETURN

COUNTROWS(EX10)  count of ids just within canal 10 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I did solved my issue by changing the main measure ( Measure1) for this one: 

 

MeasureNew:=

VAR C10=  CALCULATETABLE(VALUES(FACT_1[ID]),FACT_1[CANAL]=10) // IDs within canal 10 

VAR C14= CALCULATETABLE(VALUES(FACT_1[ID]),FACT_1[CANAL]=14) IDs within canal 14

VAR EX10= EXCEPT(C10,C14)  unique IDS in canal 10 but non in canal 14 

RETURN

COUNTROWS(EX10)  count of ids just within canal 10 

Kucrapok
Helper I
Helper I

1) what happen if you only use measure 2 on your report? Do you have the issue?

 

2) In measure 2, what is the Dax behind the test measure?

amitchandak
Super User
Super User

@Anonymous , Is this not supposed to be between the Date table and Fact?

 

Maeasure 2:=
CALCULATE (
[test],
ALL ( DIM_DATE),
USERELATIONSHIP( DIM_DATE[ID_fecha], FACT_1[ID_fecha] )
)

 

Else share data model .

 

You can increase data management cache in file-> Option and settings -> option -> Data Load and check too

 

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.