Hi,
We are facing an issue with the Drillthrough functionality when using Report Filters with an OLAP data source (Microsoft SQL Server Analysis Services).
Environment & Stack:
• Framework: Blazor Server
• Component: Flexmonster.Blazor NuGet package, version 2.9.140
• Database: SQL Server 2008
• Data Source: SSAS 2008 Multidimensional via msmdpump.dll (XMLA)
Steps to reproduce & Issue description:
1. Add an attribute hierarchy with a standard Regular relationship to the Report Filter (e.g., [WF DOC VERSION].[STATUS]) and select a single member (&[А]).
2. Double-click on a data cell to open the Drillthrough view.
3. The Drillthrough table opens, but the report filter is not applied to the returned records — we see rows for all statuses instead of only the filtered one.
Report Slice Configuration:
json
{
"slice": {
"columns": [
{ "uniqueName": "[Measures]" },
{ "uniqueName": "[Time_Dim].[Year - Quarter - Month]" },
{ "uniqueName": "[SUT UKAZ PLAN DATE PROD].[SUT UKAZ DATA]" }
],
"rows": [
{ "uniqueName": "[CRM SPR NOM].[TYPE PROD NAME]" },
{ "uniqueName": "[SPR NOM].[COD AND DECIM]" }
],
"reportFilters": [
{ "uniqueName": "[WF DOC VERSION].[STATUS]", "filter": { "members": ["[WF DOC VERSION].[STATUS].&[А]"] } }
],
"measures": [
{ "uniqueName": "[Measures].[Demand]" }
]
},
"options": {
"grid": { "drillThroughMaxRows": 10000 },
"showMemberProperties": true
}
}
Captured MDX Query:
We inspected the network traffic and captured the exact MDX query generated by Flexmonster during the drillthrough action:
DRILLTHROUGH MAXROWS 10000
SELECT [Measures].[Demand] ON 0
FROM (
SELECT ({[WF DOC VERSION].[STATUS].&[А]}) ON COLUMNS
FROM [DCU_PROD_PLANNING_UKAZ]
)
WHERE (
[Time_Dim].[Year - Quarter - Month].[Year].&[2026-01-01T00:00:00],
[CRM SPR NOM].[TYPE PROD NAME].&[3],
[SPR NOM].[COD AND DECIM].&[13834]
)
As you can see, even though only a single member is selected in the report filter, Flexmonster places [WF DOC VERSION].[STATUS].&[А] inside a subselect (FROM (SELECT ...)).
This looks very similar to a previously reported and fixed: https://www.flexmonster.com/question/bug-drillthrough-on-report-with-filters/
Could you please tell me how this can be fixed, or if there is a workaround?
Thank you in advance!