Hi Community,
I recenly encountered this error within the last several days when connecting to a Power BI dataset using Power BI report builder, I have the lastest version of Power BI report builder (Sep 2020).
TITLE: Power BI Report Builder
------------------------------
Query preparation failed.
------------------------------
ADDITIONAL INFORMATION:
Object reference not set to an instance of an object. (MDXQueryGenerator)
------------------------------
BUTTONS:
OK
------------------------------
However, if I took out the RSCustomDaxFilter function in my DAX query below, it works fine. Does anyone have any suggestions on how to fix this error?
EVALUATE
SUMMARIZECOLUMNS (
'Dimension Date'[Date],
'PMC List'[PMC Name],
'Property List'[Property Name],
RSCustomDaxFilter(@DimensionDateDate,EqualToCondition,[Date].[Date],String),
RSCustomDaxFilter(@PMCListPMCName,EqualToCondition,[PMC List].[PMC Name],String),
RSCustomDaxFilter(@PropertyName,EqualToCondition,[Property List].[Property Name],String),
"Contracted Amount", SUM('Monthly Line Item'[Contracted Amount]),
"CountLeads", SUM ( 'Leads Summary'[CountLeads]),
"Billed Revenue", [Billed Revenue],
"Properties", [Properties],
"CPL", [CPL],
"Penetration Rate", [Penetration Rate],
"LPP", [LPP],
"Total Properties", [Total Properties],
"Properties Listing", [Properties Listing],
"ARPP", [ARPP])