To get Previous Week value in tabular
I am trying to create a previous week data for my tabular project. As titled, I am having a difficult time getting formula right. How do i write some DAX to sum a total for the previous week? I have all the others down YTD, WTD, MTD etc.
Analysis Services returns different results for the same DAX query depending on the execution
Depending on the execution, the following query will return different values: DEFINE VAR _state_id = 11685 MEASURE accumulators[total_distance_when_number_of_copies_is_1] = CALCULATE( SUM( 'order_details'[distance] ) …
SSAS Prorcessing delays With multiple key columns on Dimension
Hi , We have recently changed dimension key column based on multiple columns (before key col based on 1 column now it is based on 3 columns), which mean we have to add additional columns to all measures to join dim based on 3 combinations. With this…
SSAS 2016 Role question
Hello We are using SSAS 2016 and I have question regarding the roles. I have created a simple role with filter for Employee Number , and if I test the role in Browse (SSAS) and select the role name it works just fine but it does NOT if I specify a…
Cannot add calculation group to SSAS Tabular 1500 with direct query to SQL server
Hi, When I try to add a calculation group to a clean SSAS tabular 1500 project in direct query mode linked to a single SQL Server table, I get the following error: Failed to save modifications to the server. Error returned: 'All partitions using…
using BLANK function
Hi, I have a question regarding the BLANK() function in DAX in Tabular. I am asked to display BLANK wherever I get 0. This is what I am doing: Total count (60dg):=if([Rivers (60dg)]/[salePrice] = 0, BLANK(), [Rivers (60dg)]/[salePrice]) I want…
SQLServer 2019, Polybase and Tabular Model
All, From SQL Server 2019, how do I connect to SQL Server Analysis Server (Tabular Model)/Azure Analysis Service using "CREATE EXTERNAL DATA SOURCE". I would like to connect to it using Polybase and extract data from the Tabular data model.…
Analysis Services Tabular Model excel in sharepoint
I have created an analysis services tabular model. It has a database connection and a couple of excel files as data sources. When syncing the azure analysis services from the portal, the data does not update. It only updates if I publish from visual…
Hiding part Dimension values from some users
Hi all, We have Tabular model with unit Dimension ( like :Hospital 1, Hospital 2, etc). We want to hide few units(hospitals) from dimension member list to the Users . Rows for all the hospitals will be used for some other Measure calculation so…
Cube Member ID, Name, and Value
Hello; What is the best way to provide an end user the ability to see view a dimension attribute member by either its Key, Name, or Value at their discretion. I'm using Excel pivot table for the front end to access the SSAS cube. For example for…
Different Measures calculation according to Client/Date
Hi all!! I'm new to SSAS Tabular Mode and DAX and I was wondering if anyone could help me, please. I have to create a Measure that uses different formulas accordingly to the Client and Date dimensions. For instance, I have a Measure named…
SSAS database backup
I tried to backup SSAS databases (2008 R2) by using query in SSMS, but it is overwriting previous day's backup. How to take backup without overwriting previous backup. I need to maintain at least 7 days of backup. Currently I schedule a job in SQL Server…
![](https://techprofile.blob.core.windows.net/images/f5m7qESyDk63s64hMoxBlQ.png?8D8385)
MDX query from SSAS change type
Hi All, I have one MDX query and It takes the data directly from SSAS. The problem is that some of the measures are coming as string but not as a number like they are in the SSAS. I want to change the data type or something else. Now Im trying to use…
SINTAXIS MAL ESCRITA FUNCION SELECTEDVALUE(<columnName>[, <alternateResult>])
¿Por que la funcion SELECTEDVALUE esta escrita : SELECTEDVALUE(<columnName>[, <alternateResult>]) ; deberia ser : SELECTEDVALUE(<columnName>,[ <alternateResult>] , el corchete esta dentro del primer termino y deberia estar dentro…
SQL SERVER Tabular Model - Bi-directtional filter suggestions
Hello All, We have a requirement to show values from all dimension on Row Level Security implemented on particular dimension based Fact Table Join . Lets say we have Fact table which is connected with 3 dimension ( dimA, dimB, dimC) if row level…
SSAS HTTP Connection-msmdpump.dll
Hi, I am connecting to an SSAS server from IIS using HTTP connection(msmdpump.dll). I follow the steps mentioned in this link …
MDX DYNAMIC CASE STATEMENT Using Perameter
I tried to build dynamic MDX case statement using Parameter, but it shows blank results. can anyone help to resolve this issue? WITH MEMBER ContinentRollUP AS CASE WHEN [DIM_JOB_BILLING_TYPE_V].[GLJC_TYPE]…
Synchronization job failed when service MSSQLServerOLAPService crashed -[ Task category 256, event ID 22 ] -- File system error: the process can not access the file beacuse it is being used by the another process <file path>
Hi All, SSAS DB synchronization failed with error: "Synchronization Database Error: The connection eiter timed out or was lost" When checked MSSQLServerOLAPService service was stopped and it logged below error in application log(event…
MDX query to get max date on a range
Hi, I want to query the tabular model to get 1st date and last date of first month of current quarter and then find the max of snaphot date that lies in that range.Can you pls help with the query Date column =SnapshotDate Measure= OrderQty
Intellisense in Power Query Not Working
I've been working to setup some reports using Power Query by CUBE functions. It's been very convenience to setup just by typing the double quotes (") to begin a CUBE formula and MS Intellisense automatically display a drop down list of all the…