Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Could not load the data for this visual : Service Unavailable



I have a report that get data from Dataset.

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


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.

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!



Here are the measures:


PortfNbDerived =

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 =

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

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

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors