We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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 ','
Solved! Go to Solution.
Resolved it. Noticed that the filter values have to be enclosed in curly brackets
each (Cube.AttributeMemberId([#"Years"]) = "{[FY19]}")
Resolved it. Noticed that the filter values have to be enclosed in curly brackets
each (Cube.AttributeMemberId([#"Years"]) = "{[FY19]}")
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.