SSAS Tabular Time Intelligence functions - ssas

I am using a tabular model compatibility level 1200, and I want to use Time Intelligence calculations like YTD, LYTD, etc.
Is it possible to do that on this version of SQL Server Analysis Services?
Is it possible to create a date dimension on SSAS Tabular?
Regards,

Yes you can use time intelligence calculations in SSAS. The best place to start for checking DAX support in the version is Power BI, Excel and SSAS is dax.guide, here for example is the DAX link for TOTALYTD
You can create a Date Dim in a number of ways in a DAX format for example using CALENDARAUTO, or import it from you calendar in your source system if you have one. However as you are using SSAS compatibility 1200, you don't get the option of calculation groups (Compatibility 1500), which means you'll have to create a YTD measure for each of the items you need a YTD value for. For more on this subject please see the SQLBI resource on time intelligence

Related

multi dimensional ssas data cube month name display alphabetic order (apr,aug,dec) need to display financial order like (july,aug,sep..)

enter image description hereI am using ssas multidimensional data cube. That multidimensional data cube uses in power bi desktop with live connection. Every thing works fine. But when i want to display month name according financial year (july, aug, Sept)they display (april, aug,dec) alphabetic order. But need to display according to financial year into power bi.Can any body help me?
if your dataset includes month number as well then you can click on that particular col, go to modelling pane and then sort by month number.
https://www.youtube.com/watch?v=FbQxGrJVy5w&list=LLDdQWSt2mmHAF0AgewyJwKQ&index=4&t=704s
I followed this link.
Also power bi SSAS live connection does not allow to edit model pane.
SSAS Import connection allow to edit model pane.

How can i develop this idea in MDX SSAS?

Outstanding indicator
Outstanding amounts must not be aggregated in YTD.
Oustanding YTD at end of month X = Oustanding of month X
How can i develop this idea in MDX SSAS
Thank you guys to help i'm new with BI
Sounds like you want to look at semi-additive measures, and in particular using the LastNonEmpty aggregation type.
This is only available in the Enterprise edition of SQL Server, although there are workarounds available in Standard Edition (see here).

SSAS - Time Intelligence is not working in Tabular Model

I have a separate date dimension marked as Date table in Tabular Model and having proper relationship with another table(e.g SalesTable) with column of date type. But still time intelligence functions are not working. I am using the date column from other table (e.g SalesTable) in the formula.
I'm not sure what exactly is going wrong in our tabular model. Can someone give any insights?
Thanks,
Vishal Jharwade
You have to use the date column from your date table in your formulas. For example
PrevMonthAmount:=CALCULATE(SUM([Amount]),PREVIOUSMONTH('Date'[Date]))
Also, time intelligence doesn't work in direct query mode, on the chance that you are using that mode.
This is a good intro to time intelligence:http://www.mssqltips.com/sqlservertip/3075/sql-server-analysis-service-dax-time-intelligence/

SSAS Multidimensional Dynamic Dimension Security MDX

I tried to implement Dynamic Dimension Security in SSAS 2012 Multidimensional Model. I have a little knowledge on this for I have already implemented row level security in SSAS Tabular using DAX.
What I did in Tabular is exactly the same as described in MSDN.
http://msdn.microsoft.com/en-in/library/hh479759.aspx
The DAX I used in tabular is:
**='Organization'[Project Id]=LOOKUPVALUE('Employee Security'[Project Id], 'Employee Security'[Login Id], USERNAME(), 'Employee Security'[Project Id], 'Organization'[Project Id])**
Organization - Dimension Table on which Dynamic filtering should be
happened (on the basis of Project Id).
Employee Security - Dimension Table with Login Id of users are stored
I need to implement the same functioning dynamic security in Multidimensional model too.
Can somebody help me with the MDX and steps that should be used here to achieve the same?
If you want any more clarifications on my requirement please do ask the same.
Thank You in Advance.
In multidimensional model you need to have a dimension which contains all user ids (which are joined to the project ids).
Then create a role and use StrToMember function to dynamically catch the users id and convert that into a member from the security dimension.
{StrToMember("Dim.Users.&[" + UserName() + "]")}
More about this topic can be read here: http://richardlees.blogspot.se/2010/10/ssas-dynamic-security.html

PPS / Performance Point Date Range for Scorecards

How do I go about adding a From and To date range to a scorecard and analytic report?
It doesn't seem to be well documented anywhere (including PPS books!) but surely a basic requirement for any report.
Is it possible? Or is it necessary to add 2 filters: a DateTime picker and a 'Lag' filter (which contains the number of days / weeks / months in a dropdown):
The requirement is to create a scorecard, with KPIs based on previous years performance, so there are 2 date parameters both of which need to be passed into the KPI to filter down the results (ParallelPeriod).
Thanks in advance
You can do this with analytical reports, but not with the scorecard. For the report I wouldn't necessarily recommend it because you will need to modify the MDX to setup parameters and that means you will lose the interactivity features with the report. Here is an example of setting up parameters in the MDX - http://dailyitsolutions.blogspot.com/2011/01/from-date-to-date-in-performancepoint.html.
Dashboarding is typically looking at and anlyzing periods of times which you can easily do versus the date ranges that you would typically find in operational reporting. You might want to take a look at possibly using some time intelligence features that are available in PerformancePoint if you do not have this available in your SSAS database.
Here is an overview on the TI formulas - http://blogs.msdn.com/b/performancepoint/archive/2010/01/21/time-intelligence-formula-quick-reference.aspx