When Excel is connected to a SSAS, Excel makes mdx queries to the cube and it works correctly.
When PowerBI is connected to the SSAS (live connection), PowerBI makes DAX queries to the cube and it works incorrectly, because 'CurrenteMember' not works.
I have a measure in SSAS:
CREATE MEMBER CURRENTCUBE.[Measures].[Cumulative amount]
AS sum(
YTD([Time].[Year - Quarter - Month].CurrentMember)
, [Measures].[Fact]
)
When I connect to the OLAP from Excel and choose August and September in Pivot Table, Excel makes mdx correct query to ssas and I see correct values.
In PowerBI I have Hierarcy filter (year-quarter-month) and grid with columns: [month], [Cumulative amount]. When I connect to the OLAP from PowerBI and choose August and September in the Hierarchy, PowerBI makes DAX query:
EVALUATE
....
KEEPFILTERS(
FILTER(
KEEPFILTERS(
SUMMARIZE(
VALUES('Time'),
'Time'[Year.Key0],
'Time'[Year],
'Time'[Quarter.Key0],
'Time'[Quarter],
'Time'[Month.Key0],
'Time'[Month]
)
),
AND(
'Time'[Year.Key0] IN {DATE(2019, 1, 1)},
('Time'[Year], 'Time'[Quarter], 'Time'[Month]) IN {("y.2019", "3q 2019", "August 2019"),
("y.2019", "3q 2019", "September 2019")}
)
)
),
....
And in this case it not works: values in the table are empty, and because of this the table is empty. If I choose only one item in the hierarchy (one month or one quarter) - it works good.
Is PowerBI not able to make mdx queries? What must be done so that DAX requests to multi-dimensional SSAS are executed correctly?