When trying to do a DISTINCTCOUNT of a field that is in a defined Hierarchy) we are always getting a error.
Any idea's
Feedback Type:Frown (Error) Timestamp:2017-08-23T13:07:24.2082480Z Local Time:2017-08-23T15:07:24.2082480+02:00 Product Version:2.49.4831.521 (PBIDesktop) (x64) Release:August, 2017 IE Version:11.0.9600.18762 OS Version:Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 en-US) CLR Version:4.6.1 or later [Release Number = 394271] Workbook Package Info:1* - en-GB, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True. Peak Working Set:579 MB Private Memory:469 MB Peak Virtual Memory:3.85 GB Error MessageLE DB or ODBC error: [Expression.Error] We couldn't fold the expression to the data source. Please try a simpler expression.. Telemetry Enabled:True Model Default Mode
irectQuery Snapshot Trace Logs:C:\Users\EXK528\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot458615073.zip Performance Trace Logs:C:\Users\EXK528\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip Enabled Preview Features
BI_shapeMapVisualEnabled Enabled DirectQuery Options
BI_DirectQuery_Unrestricted Error Code:QueryUserError OData Error Message:Failed to execute the DAX query. DPI Scale:100% Supported Services
ower BI Formulas: section Section1; shared Cube = let Source = SapBusinessWarehouse.Cubes("xxx", "xxx", "xxx", [ScaleMeasures=false, LanguageCode="NL"]), #"$INFOCUBE" = Source{[Name="$INFOCUBE"]}[Data], #"$BPA_M03" = #"$INFOCUBE"{[Id="$BPA_M03"]}[Data], #"Added Items" = Cube.Transform(#"$BPA_M03", { }), AddUniqueIds = let NewDimensions = Table.TransformColumns(Cube.Dimensions(#"Added Items"), { "Data", (dimTable) => List.Accumulate( Table.ColumnNames(dimTable), dimTable, (table, column) => Table.AddColumn(table, column & ".UniqueId", each Cube.AttributeMemberId(Record.Field(_, column))) ) }), NewCube = Cube.ReplaceDimensions(#"Added Items", NewDimensions) in NewCube in AddUniqueIds;