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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.