Slicer causing error with drill down in power pivot dashboard

Evans2

Board Regular
Joined
Jun 11, 2015
Messages
56
Hi all,

I have a slicer question related to the power pivot dashboard I’ve created.

Wondering if anyone has run into this issue:

I have a report with historical sales. I several slicer listing countries and then products associated with each country connected to a historical sales pivot. When no slicer selection is made or just one selection in made in one or both slicers (ex. one country one product) I can drill down to the historical sales data with no problems. However when two selections are made in either slicer (two products for example) I get the following error message:

The query did not run or the Data Model could not be accessed. Here's the error message we got:
Members, tuples or sets must use the same hierarchies in the function.

I have no idea what this means and although I've been researching the error message, I haven't been able to find a solution.

Any help is appreciated.

Thank you
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
It is impossible to say without seeing the formulas and the data model. If you can post the formulas in the pivot when it happens, plus post a pic of the diagram view and advise which tables the slicers come from, then maybe....
 
Upvote 0
I'm having the same problem, here's my DAX query:
Code:
=SUMX (
    VALUES ( 'Calendar'[Date] ),
    SUMX (
        FILTER (
            GENERATE (
                SUMMARIZE (
                    CombinedOutput,
                    CombinedOutput[StartDate],
                    CombinedOutput[EndDate],
                    "RevenuePerDayTotal", SUM ( CombinedOutput[RevenuePerDay] )
                ),
                DATESBETWEEN (
                    'Calendar'[Date],
                    CombinedOutput[StartDate],
                    CombinedOutput[EndDate]
                )
            ),
            'Calendar'[Date] = EARLIER ( 'Calendar'[Date] )
        ),
        [RevenuePerDayTotal]
    )
)

My data model is pretty simple. One table has start date, end date and revenue per day with a bunch of other fields for filtering (region, category, etc). The other table is an unconnected standard calendar table.

The query spreads revenue evenly over any slice of time from the calendar table.

I'm not very good with DAX, but rather an example junkie who got this query from another helpful member of this forum. Hoping to make this work!
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top