Questions tagged [ssas]
SQL Server Analysis Services (SSAS) is part of Microsoft's SQL Server system. It provides Online Analytical Processing (OLAP) and Data Mining functionality. Not to be confused with Syntactically Awesome Style Sheets (SASS).
5,638
questions
0
votes
0
answers
12
views
Reporting Project: Azure Analysis Service vs Azure Synaptic Analysis
we are in the process of rewriting our old reports generated from OLAP Multidimensional Cubes (SQL Analysis Services) to either new taboular cubes on Azure Analysis Services or using Azure Synapse ...
-1
votes
0
answers
20
views
Create Date Dimension based on Fiscal Year
Hi I have a few cubes set up and running with standard calendar dates based on this table.
However I need to create the ability to store data on a Fiscal Year format, and because we have several ...
0
votes
0
answers
17
views
How to properly filter MDX Measures
I currently have an MDX query that returns accurate results given a date range and office.
SELECT NON EMPTY { [Measures].[%Denial Rate] } ON COLUMNS FROM ( SELECT ( [Date - Remit Received].[Date Key]....
0
votes
1
answer
31
views
Trigger partition creation on table insert SQL Server tabular model
I have a SSAS tabular model, and I want to create a partition on the fact and dimension tables automatically when a new row is inserted into a table (the table contains the project name, I have a cube ...
0
votes
0
answers
11
views
MDX Calculated measure is not filtered by rows
I have a behavior of a calculated measure that I can not understand.
I have a fact table of invoice lines, linked to a dimension table of products.
I have products of different types: R,H,I & N
My ...
0
votes
0
answers
12
views
SSAS TABULAR // Query problems on the user-side
We maintain a pretty-big SSAS-cube model (2x 40M+ fact tables + 4-5 DIM tables).
Users connect to the cube via Excel and have problems while trying to retrieve a data in detailed way.
In the SQL ...
0
votes
0
answers
18
views
How to sum first value of transaction using SASS
How can I create a measure that sums only first row when there are dupicated values?
I do understand that the source database must be be poorly created.
Yet like below example, the headers are ...
0
votes
0
answers
24
views
How to send/retrieve xml/a request/response from Azure Analysis Services with NodeJs [closed]
I'm trying to find a solution to send xml/a request to Azure SQL Server Analysis services from a NodeJs application. There is some documentation by Microsoft, but I couldn't find a way to do it.
Given:...
0
votes
0
answers
16
views
cannot restore SSAS backup on AAS
when trying to restore SSAS database to AAS database getting this error.
"An unexpected error occurred (file 'pfasyncstreamfilesys.cpp', line 1678, function 'PFAsyncStreamFile::Seek::<...
0
votes
0
answers
9
views
connection cannot be made. Ensure that the server is running
Tried SSAS in visual studio 2022. when i open the browser tab on cubes it said
A connection cannot be made. Ensure that the server is running.
No connection could be made because the target machine ...
0
votes
1
answer
25
views
How can I access an SSAS cube in Oracle Apex?
I have an SSAS cube hosted on a SQL Server Analysis Services instance and I want to retrieve data from it in my Oracle Apex application. What is the best way to achieve this? Are there any specific ...
0
votes
1
answer
19
views
Why isn't LOG10 calculated in SSAS?
In t-sql, select log10(3000/3) returns 3.
In SSAS, if I include it as part of a Calculation, it returns null.
What's the correct way to return the log10 in SSAS?
0
votes
0
answers
8
views
Storing info in data warehouse
hope everyone doing fine, so Every friday i receive 2 excels files one contains the employee info ,project info ,date of starting the project and the date of ending and finally the planified hours ...
0
votes
1
answer
79
views
Reducing script execution time
We have two Fact tables as below
Fact1
DeviceKey
DateKey
TimeKey
CustomersIn
1
20230225
235612
2
1
20230226
94123
1
1
20230227
183408
3
1
20230228
175926
2
1
20230301
112319
1
2
20230225
224623
...
0
votes
0
answers
19
views
How to replicate multidimensioanl cube dimension Unaryoperator in analysis services Tabular model
I am migrating a multidimensional model to a tabular model. Some of the dimensions are using unaryoperators property in their columns. Can someone please guide me how to replicate the unaryoperator ...
0
votes
0
answers
13
views
MDX query: Turn Created Members into a single execution
Below I have some code that returns the results that I need, but because the query is part of a stored procedure it would be much easier if I could define the steps and execute once instead of having ...
0
votes
0
answers
17
views
I need an MDX query that operates like a Group by Statement
I need an MDX query that is able to aggregate a Fiscal Year while only pulling parts of a year. Let's say the client wants to see sales for a fiscal year but the given date range is 20210601 - ...
0
votes
0
answers
13
views
SSAS CustomData() MDX function freezes my machine
When I try to run the CustomData() MDX function in SQL Server Management Studio or through SSRS Report designer in Visual Studio it taxes my system's memory to 100% and everything slows down. The ...
0
votes
1
answer
58
views
relation between two tables fact
We have two Fact tables as below
Fact1
DeviceKey
Datekey
TimeKey
CustomersIn
1
20230101
101532
2
1
20230101
230945
1
2
20230101
092409
2
2
20230102
142915
3
3
20230102
120024
1
3
20230102
...
0
votes
2
answers
54
views
DAX - Sum column values from another table grouped by
I'm new to Dax.
I want to create a new calculated column in SSAS (Tabular Editor) that will show the number of products per order.
The ORDER_DET table has a column with the quantity of products per ...
0
votes
0
answers
9
views
Can't click and edit table relationship in Analysis Services Project
I've installed Visual Studio 2022, Data Tools and the extension for Analysis Services projects.
In design window of a data source I can add a relationship between tables and it is represented by the &...
0
votes
0
answers
19
views
Which is the workspace server path in Visual Studio to access a remote SQL Server Analysis server?
I am able to access a remote SQL Server Analysis server through SSMS with the following command:
runas /netonly /user:lua\sqladmin "C:\Program Files (x86)\Microsoft SQL Server Management Studio ...
0
votes
0
answers
20
views
Tables from the "Analysis Services gateways" do not load in Power BI
Publish a dashboard in Power BI Desktop connected as a "direct query" to SQL Server Analysis Services (SSAS).
Create the connection using gateways, it appears that all the configuration was ...
0
votes
2
answers
42
views
SSAS adomd-client with mutual SSL
I configured a local SSAS-server with IIS and mututal SSL.
Connection via Browser to https://127.0.0.1/OLAP/msmdpump.dll works fine with client-cert.
But I seems, that tool like
Excel
Tableau
Power ...
0
votes
1
answer
21
views
Connecting SSAS in another machine via connection string just like connecting a normal server
So what I'm trying to accomplish here is basically just like an SQL server connection, I want to connect SSAS instance from another computer in the same network using a login account. Things I search ...
0
votes
0
answers
24
views
Simba ODBC connection driver for SSAS to Big Quey
I am trying to connect SSAS multidimensional cube to big Query dataset. I have installed and configured Simba ODBC driver for Big Query but I can not see the installed driver in Visual studio ...
0
votes
0
answers
22
views
How to Modify an MDX calculated measure in a way it's not filtered by a specified dimension member
I have an MDX calculated measure named [Measures].[Total Sales]
I'm using this measure in a power BI report.
I have different filters :
Year
Region
Department
I want this measure to ignore the ...
0
votes
0
answers
13
views
Stuck with this query for MDX
I am trying to make it show for years in columns and neighborhoods in rows. In the cells I want the total share of trips per neighborhood and per year in percent. I should look like the picture, but ...
0
votes
0
answers
16
views
How to add one more measure in MDX where clause?
Below query is perfectly working and bringing rolling 12 months data for selected measure. Now how do I add one more measure to same MDX query so that query fetch rolling 12 months for 2 measures?
...
0
votes
0
answers
34
views
Query execution failed for dataset... Incorrect syntax near '}'
The following error occurs when I run a report in SSRS Report Portal:
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'DataSet1'. (...
0
votes
1
answer
18
views
Power BI unintentionally converting a SSAS datekey integer into an excel serialised date
I have a fact table with an Whole Number datekey, e.g. 20230207. I also have a date dimension which uses the same key. These are in an SSAS Tabular Model and I can see in Visual Studio that the ...
0
votes
0
answers
20
views
SSMS displaying different messages for the same action
I have a few cubes configured in the same way, and when I process them; all of them run ok:
While they run it says "Processing in progress" for a minute or two, and then it finishes...
But ...
0
votes
0
answers
22
views
Determine data warehouse tables used in a *.RPTPROJ file without access to cube
How do you determine the data warehouse (DW) tables used in a SSRS report if you're only given the *.RPTPROJ file and also have access to the DW tables via SSMS.
The missing piece is obviously the ...
0
votes
1
answer
49
views
Query a table with TOM - Analysis Services C#
I have a project of Net Core which it create database, tables and measures in a Tabular model. I would like to query some tables like we would do in SQL, for example, "select * from myTable"....
0
votes
1
answer
45
views
How to insert a string literal as a new column in an mdx query
In the following MDX query, I want to set the value of [Measures].[Label] as the string literal "Net Value" instead of NULL (i.e. using a string literal to populate the values in the label ...
0
votes
1
answer
31
views
Data source to ssas cube naming and numbering changing?
Our ssas cube transform both the language and the numbering from the original data source.
In our database our datetime view all cells containing "monday" as its "day name" ...
0
votes
0
answers
7
views
Customer wise sales on month wise using MDX query
I have MDX query fetching last 3 months data based on customer names/previous month sales<>0. Please note to calculate previous month sales, i am using parallelperiod in cube calculation hence I ...
0
votes
2
answers
42
views
version control for ssas tabular cube data
my concern is about saving tabular cube data before processing, to have a possibility to go back to a version of data when needed, to be able then to compare between different versions in a power bi ...
0
votes
1
answer
36
views
Slow SSAS RLS implementation with DAX
I have published my .pbix, it works great, speed is fine. I consume from SSAS. Now, I have introduced some RLS security and for people accessing with limited permissions, it is awfully slow…
How can I ...
0
votes
1
answer
34
views
How to filter by grouped dates when using date type data from a SSAS Cube in Excel
I have a published SSAS cube with multiple facts, dimensions, and a date table. We have end users that would like to filter some of the data by different dates that are on the dimensions (service date,...
0
votes
0
answers
17
views
Create a Database Diagram based on MS SSAS Data Source View in a printable format
in Visual Studio (2017 SSDT), if I open my MS SSAS cube, in the "Cube Structure" tab, under "Data Source View" I see all the tables/views that are used with all the relationships.
...
0
votes
0
answers
32
views
SSAS cube connection to Google cloud bigquery
We are trying to connect our ssas cube to big query database on Google cloud.Which connectivity provider do we need to use?
I came across one of the web link where there are saying there is cdata ...
0
votes
1
answer
27
views
SSIS package remote execution
I have a Client, running on Server A, which executes a SSIS package which is located on Server B. This SSIS package process a SSAS Tabular Cube which is located on Server C.
The connection from A to B ...
0
votes
0
answers
20
views
Is this a bug in Power BI?
I have several .pbix files where I mostly consume live from SSAS. Last week I was able to see the model, (I downloaded today the december 2022 version) and after I installed it, I can't see them ...
0
votes
1
answer
22
views
How to know if any given column from a SSAS live source is being used in the .pbix?
I have a setup where I consume live from Analysis Services, therefore my Power BI desktop is a bit limited, in terms of what I can do there:
Usually, the SSAS I consume from, has thousands of ...
0
votes
0
answers
46
views
How to write a command like if-else in DAX?
I'm using Dax filter from SQL Server Analysis Service to subset a column
I have a variable named const computed by
VAR const = if(..., 1, 0) RETURN const
The values of const are 0 and 1. I have two ...
0
votes
2
answers
36
views
SSAS Tabular vs Multidimensional: can the Excel user tell the difference?
When I say "tell the difference" I mean to exclude performance considerations.
I understand there are many important differences for the developer of the model, but I have found no clear ...
0
votes
0
answers
21
views
Ability to count per hour per day?
I'm new to SSAS so be gentle!
I have (simplified):
fact table that has an ID, start date, start datetime, end date, end datetime
A date dimension that has a granularity from Year to Calendar Date.
...
0
votes
0
answers
11
views
Exporting / Sharing SSAS project from Visual Studio 2019
I'm trying to figure out how could I share my multidimensional cube or what setting should be set at the beggining so that I could export and share my solution to other PC.
I struggle to find answer ...
0
votes
1
answer
23
views
How to check that RLS filter will propagate?
I have the below model:
And I am unsure if my RLS propagates correctly…
The model has 2 regular facts FactRevenue and FactSales (I cut them from the screenshot, just for clarity) and it also has ...