ssas-tabular

Exception when referencing SSAS Tabular model in C#

孤人 提交于 2019-12-07 16:25:27
问题 I am attempting to automate partition refreshes in Azure Analysis Services via C#. I have installed and referenced the latest 'Microsoft.AnalysisServices. ..' assemblies found here: https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers. I then have the following code: using System; using Microsoft.AnalysisServices.Tabular; public void Run() { Server asSrv = new Server(); try { asSrv.Connect(ASConnectionString); Database db = asSrv.Databases.FindByName(

Exception when referencing SSAS Tabular model in C#

南笙酒味 提交于 2019-12-06 01:04:15
I am attempting to automate partition refreshes in Azure Analysis Services via C#. I have installed and referenced the latest 'Microsoft.AnalysisServices. ..' assemblies found here: https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers . I then have the following code: using System; using Microsoft.AnalysisServices.Tabular; public void Run() { Server asSrv = new Server(); try { asSrv.Connect(ASConnectionString); Database db = asSrv.Databases.FindByName("HospoIQTabular"); Model m = db.Model; // only refresh 2017 partitions m.Tables["Sales"].Partitions["Sales

Default filter in Power BI - Row Level Security not applied through LOOKUPVALUE

房东的猫 提交于 2019-12-05 22:23:21
TL;DR: When using LOOKUPVALUE() against a table with Row Level Security, the RLS is not applied and all values are seen I have a requirement to have a 'default' value (location) picked in a Power BI report, based on the user. I am reporting against Azure Analysis Services (tabular model 1400) It appears that the way to implement default values in Power BI is to dynamically rename a value to something static, and pick that static value as a filter. So user Bob has default location Location1 so when he logs in he should be see his location user Joe has default location Location2 so he should be

SSAS tabular model timeout raised during processing

社会主义新天地 提交于 2019-12-04 05:30:06
问题 When doing a Full Process on a tabular model to an Azure Analysis Service model I get the following error after 10 minutes into the processing: Failed to save modifications to the server. Error returned: 'Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. The exception was raised by the IDbCommand interface. Technical Details: RootActivityId: cd0cfc78-416a-4039-a79f-ed7fe9836906 Date (UTC): 2/27/2018 1:25