cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
danning1234
Helper I
Helper I

Could not load the data for this visual : Service Unavailable

Hi,

 

I have a report that get data from Dataset.

For certain visuals, i got the error message like below.

danning1234_1-1616097324855.png

I copy paste the same visual from the report to the dataset, and it works. Takes time to run the query but works.

 

Any ideas on solutions?

 

I try to make the measure more simple but it is not evident.

I am guessing that it is due to the time out on query running, if so how can i change it?

 

Thanks for any help.

2 REPLIES 2
amitchandak
Super User IV
Super User IV

@danning1234 , Can you share the measure and error details



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Hi,

 

Here are the measures:

 

PortfNbDerived =

CALCULATE(
DISTINCTCOUNTNOBLANK(Data[Cust_Nb]) + 0 //when blank show 0
, LASTDATE(DimCalendar[Date_EN]) // is table of balance
, FILTER(Data,[Amnt] > 0) // when the amnt is > 0, [Amnt] is a measure, from the balance data table too
, KEEPFILTERS(Data[IndCurrent] = TRUE()) // a filter
)

 

PortfNbAverage =

AVERAGEX (
VALUES ( DimCalendar[Month_FFFF_MM] )
, [PortfNbDerived]
)

 

Measures are not complicated.

It returns the result on Desktop without problem, but the performance is bad.

Once publish the data model to the Service, then the measure no longer works on the report when"Get data from dataset". It shows the error message like in the post.

 

Any idea?

Thank you.

 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors