update query
DECLARE@OriginalTable TABLE(serialNo INT IDENTITY(1,1),Itemcode CHAR(4),Expirydate DATETIME,qty INT,avgprice INT)INSERT@OriginalTable SELECT'A','2013-12-15 10:09:59.237',9,100INSERT@OriginalTable...
View ArticleSets in SSAS based on selected Value in Slicer
HiI have a situation in which , I need to show the 4 week in the column based on the slected value on the slicer. For example , IF user select week48 on slicer.. then my table should show the value of...
View ArticleUpdate Query
I have two tableTable 1 as StockSerialNo,ItemCode,Expirydate,qty,avgpriceeg:Slno Itcode dateqty avgprice11001 02-01-201310 5021001 02-01-20135 303 100203-01-201366041003 04-01-2013...
View ArticleMDX:Work with date in ssas cube
Hi Dears.as you see my data (by date format ) in data warehouse is correct but when i deploy cube in SSAS 2008 , the data is corrupted.Please help me as soon as possible.I have deliver the project...
View ArticleUpdate Query with Join
select * from S_products where Serial in ( select Max(serial)as Serial FROM S_products A where StoreCode='DEIRA' and ItemCode in (select ItemCode from PUBS..DEIRAVARIANCE16122013) group by ItemCode...
View ArticleImproving performance of a DAX formula containing DIVIDE function - SSAS 2012...
Hi,I'm working with a fact table having 150-200 millions of rows and I'm using this DAX formula:CALCULATE ( DIVIDE ( SUM ( FACT_TABLE[Val_A] ) - SUM ( FACT_TABLE[Val_B] ); SUM ( FACT_TABLE[Val_A] ) );...
View ArticleSSAS .abf file without partitions of fact table
Hi All,I am trying to take a cube .abf file from Dev env. This cube contains patitions for month on one of the fact table. our each env has differnt number of months.My problem is when i take .abf file...
View ArticleSSAS using datasource at query time
I have a set of reports that run against the cube. The cube has proactive caching enabled. If the datasource within the SSAS database has invalid credentials, queries against the cube will not run....
View ArticleAccessing SSAS Cubes with Excel - Parameter Question
I have a cube built that can be accessed through Excel. Connection and data is good but I have a question regarding parameters. I want to the end user to be able to choose a date that will sum a...
View ArticleSimple sql to mdx query
select MAX(InsertionDT),TaskStatus,tasksubstatus from TransTasksFFMS_GVT where TaskCode =323155groupby TaskStatus,tasksubstatus To use this query in the cube browser I have created a name query and...
View ArticleCalculation with YTD not working
Hello everybody,I try to create a calculated measure in my cube to show a YTD value but in the browser I only got the error #VALUE!.This is the expression of the calculated measure:What could be...
View ArticleDistinct Count Calculation
Hello everybody,I have a cube with appointments including dimensions for companies and dates.One of my measures is "Appointments" which is the count of all appointments. Another calculated member is...
View ArticleUsing IF or SWITCH functions inside a DAX formula into a tabular model - SSAS...
Hi,in a tabular model I've changed a DAX formula introducing the SWITCH function, but when I deploy the changed formula and open the Excel workbook the slicer connected to the pivot table doesn't...
View ArticleDifference between these two in deny permission
When you do some deny permission to get access to the data, why does SSAS has one cube and the rest is dimensional table before processing to make deny access. What is the different?
View ArticleDisplay Limited value of Measurement for Salesman
Goal: Make a limition of the measurement "Internet Sales Amount" value to 14545058,5455 without using any dimension table. The sales man is not allowed to view the whole value of mesurement "Internet...
View ArticleSSAS - Named Set Grand Total
Hi,I have a Calculation which I need to compute on fly. Index is the measure which will be product of Base Measure A and B divided by Sum(Measure A ofselected Dimensions as shown in grey). I created...
View ArticleDifference between denying permission to cube dimensions and database...
When you are denying permissions to users in a role in SSAS, you have the option of denying permission to the cube dimension or the database dimension. What is the difference between these two?
View Articlefilter out measures with 0 as value
In SSAS cube browser, is there a way to filter out rows where the measure value is zero? For example, I have a Location dimension and a remaining inventory measure. Is it possible to not display the...
View ArticleSSAS Date Dimension attribute not displaying all members when browsed singly
I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >>...
View ArticleHow Can Use varchar measures in cube
Hi DearsPlease help me as soon as possible.I define a Named Query on 3 dimension tables .the miladidate field as a date and the MonthName field as a varchar, do not display in cube browser.how can i...
View Article