Quantcast
Channel: SQL Server Analysis Services forum
Browsing all 14337 articles
Browse latest View live

Get Childrencount of Dimenion

I am firing this query to get all members along with childrencount WITH SET [-SpecialSet-] as AddCalculatedMembers([Product].[Product Categories].Members) MEMBER [Measures].[-Special_ChildrenCount-] AS...

View Article


Error in MOLAP Proactive Caching

Hello,We have enabled Proactive Caching for MOLAP and we are using Polling mechanism.  The polling query queries the view for date column. An SQL view is the datasource for the cube with joins on...

View Article


Getting just one cell in MDX calculations

Hi thereI got a query which returns this:Dimension Time: Jan    Feb    Mar    Apr    May    Jun    Jul    Aug    Sep    Oct    Nov    Dec Vales:                56      78     44      38     63...

View Article

Calculated member - Mode function

Hello,I need some help. I am quite new to MDX; I've created a cube and the measure needs to behave same as the MODE function in Excel (the followinglink describes what the function does). Apparently...

View Article

Conditions in Calculated Measures and in KPI

Hi,I have one Dimension Called CaseCreationDate and I have a measure [total distinct case header count]. I would like to create a calculated Measure called historical cases.If CaseCreationDate >...

View Article


Excel Still not seeing column as date

I have a date dimension in my cube. On the KeyColumn, I have set the Value property to be the Date column that is of type "dateType".This means that when I create a pivot in excel the Date filters are...

View Article

DAX: Last Non Empty per date (Most Current Inventory)

Here is a little context.  I have product subcategory as row label.  I have a daily snapshot of inventory and using count of inventory as the measure.  The measure I want to be sure that I return the...

View Article

Image may be NSFW.
Clik here to view.

How to get the measure total at row level for another measure calculation in...

Hi There,Using DAX, I am trying to get an expression for a calculated measure as follow:So basically, I would like to get the AMeasure total highlighted in yellow in the A2Measure calculation:Smeasure...

View Article


Ability to Filter within an idividual perspective in a Tabular Model (cube)?

I have a rather large Tabular model that I would like to use across 10 different reports as the requirements are identical, save for 1 aspect - the report goes out to 10 different companies. I need to...

View Article


How to get the same period last year value using Fiscal Calendar?

Hi there,I am using DAX in a Tabular Model project but I am getting stuck trying to get the following:We are using a Fiscal Calendar (from 01 April to 31 March).   Previous Period Value       Value2012...

View Article

Calculate percent difference of revenue dollars between company a and company...

New to the world of SSAS cubes.  Here is my scenario... I have company A that has revenue R for a given month.  I have company B that has revenue S for the same month.  I have Company C that has...

View Article

Prevent dynamic set from being run on every cube connection.

I have a top 25 dynamic set in my cube on a large dimension. Every new connection to the cube I can see the cube executing the code in the dynamic set. This takes about 10-15 seconds which is too long...

View Article

SSAS 2012 dynamic security with memberset defintion in User dimension

Hi, I have implemented dynamic security as below and wanted to know if there is any problem with this approach.1. Create user dimension with "login id" as key field. Role1, Role2 etc... are properties...

View Article


Row Count Function MDX

Hi,I'm need a row count function to use in my mdx code.i have this  WITH MEMBER [Measures].[Row number] AS iif( IsError(Axis(1).Count), null, Rank ( StrToTuple ("(" + Generate ( Head ( Axis(0),...

View Article

SSAS Cube migration from 2000 to 2012

Hi, I have TWO big cubes written in SQL server 2000. My requirement is to migrate these cubes in SQL 2012 version.I am using upgrade advisor to get an idea on all possible errors. But I am not very...

View Article


time utility shell dimension across multiple date dimensions

Hello,I have built a time utility shell dimension based on a solution from Tomislav Piasevoli (book: MDX with SSAS 2012 cookbook) however I have modified it slightlyIn his example he uses two...

View Article

find current age from day in mdx query

Hi,I need to find current age.In my cube i have dob attribute.so how can  i find current age from day using mdx query.Thanks,Induindu

View Article


Simple problem on the prediction precision.

Simple problem on the prediction precision. For all articles, I would like to calculate the maximum value of prognosis and outcome. For all articles, I would like to calculate the absolute difference...

View Article

SSAS 2012 end Excel functions - mode.sngl doesn't work

Since I've used SSAS 2005 with Excel 2007 my Excel.Mode function worked fine. Now we have migrated to SQL 2012 and we have installed Excel 2010 --> Excel.Mode is deprecated in the new version and...

View Article

How do I know the user behavior of login and activities of cube?

How do I know the user behavior of login and activities of cube? Are there any script that we can use? For example, are there any script that we can use to figure out which user execute deploy for the...

View Article
Browsing all 14337 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>