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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Error while adding filter criteria to data source from Essbase adapter

Hi

We are exploring the feasibility of using powerBI for all the reports from the Hyperion Essbase.

 

We noticed that the latest PowerBI release had fixed some of the issues with Essbase adapter. I am now able to connect to Essbase using Import Data or Direct query. Both works and I am able to see data refreshed from the essbase cube. But as soon as I try to add filter criteria it breaks down. 

 

Because of the size of the cube, we like to add filter criteria to limit the dataset refreshed from Essbase.

 

Below is extracted from "Advanced Editor" generated by power BI when I try to add Filter to the datasource

 

#"Added Items" = Cube.Transform(Cost.Cost,
{

{Cube.AddAndExpandDimensionColumn, "[Years]", {"[Years].Levels(1)"}, {"Years.[Years].Level 1"}},
{Cube.AddAndExpandDimensionColumn, "[Currency]", {"[Currency].Levels(1)"}, {"Currency.[Currency].Level 1"}},
{Cube.AddAndExpandDimensionColumn, "[Period]", {"[Period].Levels(1)"}, {"Period.[Period].Level 1"}},
{Cube.AddAndExpandDimensionColumn, "[Scenario]", {"[Scenario].Levels(1)"}, {"Scenario.[Scenario].Level 1"}},
{Cube.AddAndExpandDimensionColumn, "[Version]", {"[Version].Levels(1)"}, {"Version.[Version].Level 1"}},
{Cube.AddMeasureColumn, "Total Costs", "[Total Costs]"}
}),
#"Filtered Rows" = Table.SelectRows(#"Added Items", each (Cube.AttributeMemberId([#"Years.[Years].Level 1"]) = "[FY19]" meta [DisplayName = "Y2019"]))
in
#"Filtered Rows"

 

Error Message:

Expression.Error: Essbase Error (1260052): Syntax error in input MDX query on line 9 at token ','

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Resolved it. Noticed that the filter values have to be enclosed in curly brackets 

 

each (Cube.AttributeMemberId([#"Years"]) = "{[FY19]}")

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Resolved it. Noticed that the filter values have to be enclosed in curly brackets 

 

each (Cube.AttributeMemberId([#"Years"]) = "{[FY19]}")

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.