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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
danning1234
Advocate I
Advocate 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
Super User

@danning1234 , Can you share the measure and error details

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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors