Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61890

MDXQueryGenerator error when connecting to Power BI dataset in Power BI report builder

$
0
0

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])

 

 


Viewing all articles
Browse latest Browse all 61890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>