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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pawlowski6132
Helper IV
Helper IV

MDX Query "Timed out before receiving all data" in Less than 1 Sec.

So, I'm connecting to Essbase in PBI DT.

This query works:

 

SELECT
FILTER
(
    [SCENARIO].Levels(2).Members, 
    SCENARIO.CurrentMember = [2020 ACTUAL]
)
On Columns,
NON EMPTY
CrossJoin(
{CrossJoin(
{CrossJoin(
{Members([TOTAL COST CENTERS].Levels(2))},
{Members([PERIOD].Levels(2))}
)},
{Members([ACTIVITY].Levels(1))}
)},
{Members([ACCOUNTS].Levels(2))})
On Rows
FROM PL.PL

 

But when I try to add a second expression to the FILTER function, I get:

Expression.Error: Essbase Error (1042017): Network error: Timed out before receiving all data

But I get that error IMMEDIATELY.

 

SELECT
FILTER
(
    [SCENARIO].Levels(2).Members, 
    SCENARIO.CurrentMember = [2020 ACTUAL]
    OR
    SCENARIO.CurrentMember = [2019 ACTUAL]
)
On Columns,
NON EMPTY
CrossJoin(
{CrossJoin(
{CrossJoin(
{Members([TOTAL COST CENTERS].Levels(2))},
{Members([PERIOD].Levels(2))}
)},
{Members([ACTIVITY].Levels(1))}
)},
{Members([ACCOUNTS].Levels(2))})
On Rows
FROM PL.PL

 

 

 

 

What could possibly be going wrong?

Thanx so much in advance.

 

jrp

 

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @pawlowski6132 

 

I'd like to suggest you try to increase the 'Command timeout in minutes' when using essbase connector in Power BI Desktop. 'Command timeout in minutes' is a duration which controls how long the server-side query is allowed to run before it is canceled. The default value is ten minutes.

 

Essbase.Cubes(url as text, optional options as nullable record) as table

 

For further information, you may refer to the document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanx Allan, unfortunately, I have that set at 10 hours already.

As I mentioned, query doesn't even run for 1 second before erroring out.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors