Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics

Specifying the Location of a Calculated Member in a Hierarchy

I am working on building a hierarchy to facilitate the generate of financial statements. I add attributes to my Account dimension to create the typical grouping and totals  (Assets, Liabilities,...

View Article


Tracking use of measures/dimensions

Hi,I have a SSAS multi-dim cube used by around 100 people. It's a legacy cube that I'm re-developing on SQL2016, has around 80 measures, 20 dimensions.I want to asses which measures/dimension...

View Article


MDX Code - Can you explain this?

I'm trying to understand some code not designed by myself. I believe this code is supposed to provide accurate LFL (like-for-like) sales comparisons at a monthly level. The complexity is in the fact...

View Article

SSAS \ SSRS Parameters

Good afternoon all;  I am very new to SSAS and have a question about parameters for the report. So here's the skinny;I am creating a dashboard for our stores in SSRS using a SSAS cube, I have put in...

View Article

SSAS CUBE Grand Totals Wrong

Hi All,I am facing a problem where I got Stuck and I cannot see a way to solve.So basic I have a small environment 2 currency and for that I use a Fact Rate table with Dates between USD and EURO to give

View Article


DAX YTD, QTD and MTD calculations

HelloI am trying to calculate the above functions on a fairly simple Azure Hosted Analysis Services Model.I have a measure Quotes[QuotesCount] defined as...

View Article

Extended events trace missing data...

Hi, I'm setting up a process to monitor our SSAS Queries using extended events.The xmla to start the trace is below. I put the xmla in a SSAS DDL task in SSIS. I'm experiencing two different behaviors...

View Article

Metric Won’t Display Results in Tab Cube

Hello, I have a Tabular cube model, 2016 (1200) version, with many named folders, with many columns in each, on one particular folder, I have all the columns hidden, and have metrics down in the grid,...

View Article


Calculated Member based on dimension attribute value

I have a report that is using a ssas multidimensional cube as data source (live connection)I have two amount measures (local_amount and euro_amount)I have created role dimension metric attribute...

View Article


Service Account in Admin role can't browse cube

We're experiencing the following issue, where a service account is not able to consume data from a cube. The idea is this SV would be used as the account that hosts dashboards in the Power BI...

View Article

Cannot see compatibility level 1400

Hi guys, I am looking for help with setting the tabular model's compatibility level to 1400. I've got SQL Server developer edition, with SSAS tabular installed 14.0.230.1 and the DISCOVER

View Article

Complex calculation SSAS tabular

I have below data set in my SSAS tabular model, for time being i have posted data for one month but the actual dataset contains N number of months.Requirement - If any day data missing in a particular...

View Article

Measures showing up Blank in Power BI

When I attempt to connect POwer BI Desktop to my tabular model, The measures all show up blank.  I am able to browse the model in excel from SSDT., and the measures do not show up blank.   When I look...

View Article


MDX Query Help - Translating T-SQL to MDX

I'm hoping someone can help me with this query that I have struggled with for a few hours (new MDX user). I can easily get what I need using T-SQL but getting the equivalent using MDX has proven...

View Article

Analysis Services Tabular Azure Rename Database

Hi,I have Microsoft Visual Studio Enterprise 2017 (Version 15.9.0) installed, when I click on a New Project it asks for the following info to be filled in:Name:Location:Solution:Solution...

View Article


SSAS Deployment Error

I am trying to deploy an SSAS project running in tabular mode and am getting the following error: Error returned: 'The table 'Date' has two columns with the IsKey property set to True. So, it seems...

View Article

Query Mode section under Deployment Options not available

Hi everyone,Recently I have been experiencing an issue with SSDT that I could not find a solution for: My problem is, in SSDT Tabular, when I go to project properties there is no Query Mode section...

View Article


MDX - LOOKUPVALUE / VLOOKUP?

HiGiven the image below, how would I go about creating 2 MDX calculated measures to create an opening and closing balance.Assume that I have to use a multidimensional cube and that I cannot:1. use

View Article

DAX - Advanced Product Grouping/Segmentation Question

I created an SSAS Tabular model using the AdventureWorksDW database.I used the post below to help me build the report.

View Article

Cube switching

Hi allWe've been looking at schema switching to minimise downtime for users (and it's going reasonably well in testing).We have a 3-stage load process for the tables and cubes, as follows:-1) Load the...

View Article

how to select not null values?

Hello Friends,How can I achieve this logic in calculated measure?Case when [Measures].[RRP] is not null and [Transaction].[Sales Type].&[Sale] then 

View Article


Measure value for last 13 weeks

Hello Friends,I want to write a calculated measure. My calculation is find out the sum of sales for the last 13 weeks divided by average units sold for last 13 weeks. Current week is not included....

View Article


Using AMO to set Server Properties

It is easy to use AMO via Powershell or C# to get server properties but even though the docs say that there are also setters for these properties, they don't seem to do anything?[code lan

View Article

Visual Studio 2015 Community, when opening model, wont display, says it’s...

Hello, I recently removed VS17Pro and VS15 Pro, and there tools, not compatible or trial version expired, I installed back VS15 Community Upd3 and latest SSDT. I can open SSIS pkg’s fine, but when I go...

View Article

MDX query

I want a (SSAS) MDX query to get the parent child and grand children of all levels.

View Article


Calculated measure SSAS Multidimension

I need a calculated measure to calculate the percentage count for car and age dimension values..Below are the values in cube:[code language="sql"]Car  Age Count----- ----- -----Benz 1  2Camry&nb

View Article

security ? for SSAS tabular

have a ssas 2014 security ? vendor wanted connections to one of our sql servers and SSAS tabular instance. They say they can only use sql authentication but it looks like for SSAS tabular instance you...

View Article

Can't remove database from SSAS Server

Hello,I can't remove database from SSAS Server. I get an error message that i've attachted. Basically the error states:[quote]

View Article

Writeback Values bigger than Int allows?

Ahoi,i have a write Table enabled and fully functionally working, the only issue is my users need to write back values bigger than int allows.I tried changing/drop creating the write back table to...

View Article



Trying to Deploy a solution in Visio Studio - Have Admin Rights but still...

Hello,When I try to Deploy a solution back to the deployment database server, I get, "Cannot deploy model to the deployment database server '*******'.  Reason, You are not an Administrator on the...

View Article

Dynamic filter in a resume flag table

View Article

SSAS Tabular Performance Question

I have some dynamic filters in DAX. They are implemented with disconnected tables and the DAX code then calculates the measure based on the value selected. One thing I do to increase maintainability is...

View Article

SSAS IP

SSAS connection - working with vendor to get connection thru AWS to our sql servers and ssas instance (which is named instance ssasname\ssastab. They can connect to the sql servers fine through the IP....

View Article


How do I friggin' connect to SSAS via SSMS? (cryptic errors galore)

Hi there --I'm trying to connect to an SSAS server via SSMS (the preferred client I'd guess but who knows).I'm enteringData Source=xxxx;Initial Catalog=xxx;User Id =...

View Article

Performance issue in SSAS tabular

Hi all;I've created an SSAS tabular model based off of sales facts recorded at the invoice level, and have folded in budget data recorded at the month level.  Because of the difference in granularity,...

View Article

Incremental Processing of Snapshot Fact in SSAS Cube

Hello,I have a snapshot fact table that stores the data for last 9 days (D1-D9). Every day in the ETL load, we remove the D9 and add D1 data to the fact. Existing D1 becomes D2 and D2 become D3 and so...

View Article


Tabular Model with Azure Sql Server as source

HelloI'm trying to create my first tabular model.My datasource is a  Azure SQL Server database.- I connect to my database with a sql server authentification.and the test is OK.- But when I try to...

View Article


SSAS users randomly losing connection

Hi allWe've got 5 multidimensional cubes and access is granted by AD groups.There is one role per cube with a "catch-all" role that is listed as "Read all cubes".  This is a special role for our...

View Article

Tabular Model -Convert MDX to DAX query in Calculations

Hi < I am converting Multidimensional Cubes to Tabular Model in SSAS. I need to convert the calculations as below in MDX to DAX . Can some one suggest some examples or functions? Thanks in advance...

View Article

SSAS Cube (Multidimensional) Processing hangs / gets stuck after DB CL change

Today, after I changed the relational database that feeds the cube from compatibility level 100 (2008) to 120 (2014), the cubes no longer process (we had to stop the process after taking 5

View Article