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

Facts in Cube are not revealing values in db

$
0
0

I have about 20 million rows in a db , one of the columns named payments have values in them.

When processing the cube, I have "0" for payments and other facts, sales, charges, etc... are ok?

Any Ideas?  I have formatted them as both float and currency with no luck.


KDW


SSIS Package Configuration

$
0
0

Hi Experts,

I am pretty new to SSIS.

How can I do configuration for my packages? I am having a Parent package to call another package which in turn call all Dimensions.

Master --> DimMaster --> DimPackage

How can I set configuration for this? I want to pass all connection, Filepath properties only to MasterPackage via XML config file and it has to pass to all child packages. I dont want to config all package to call the same XML config file and I want them to pick the values from Master package.

Regards

Mukejee

how to write an mdx subquery

$
0
0

i want to write a subquery using mdx.

in sql that would be something like

CREATE PROCEDURE sp_proc
@param1 varchar(55)
as
Select id,name  from table1
where id in(
SELECT distinct  id
FROM         table2 where field='param1'
)
GO

 

please let me know how to implement this functionality using mdx queries.

Recommended number of users for ssas cube

$
0
0

Hello Everyone,

Please give a guide about number of simultaneous users recommended for SSAS cube on standard hardware requirements.

Thanks in advance.

Measure Group Security in SSAS

$
0
0

Hi

I have a requirement to hide 20-30 measures from one set of users.. 

To implement it, I created a Measuregroup and put all secured measures under it.

I created 2 set of roles

Normal Role

Super User Role

In Normal user role, I went to dimension Data, selected Dimension measure and in Denied put "MeasureGroupname".

When I check the security thru Cube Browser , it works fine.

Now when I connect the cube thru excel, a users who fall under Normal role is also able to see all measures .

Do you know the reason behind it or had similar problem..

Note : I have visited various forums and looks at the suggestion for the above issue..

In all the forum, it is said to create calculated member which will point internally to real measure..  I  don't thing that would be best solution for the issue I am having. I don;t want to create calculated measure for each secure measures..

Any suggestion or other way of doing it..

appreciate your help.

Thanks


SKB

Error during the attach of a Tabular model - SSAS 2012

$
0
0

Hi,

I've changed the DataDir for a SSAS Tabular instance by specifying another drive letter and a path like "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data".

After the restarting of the SSAS service I'm trying to attach the tabular model but when I select a folder I've an error about the specified folder is not valid because it doesn't correspond to the naming convention.

How can I solve this issue, thanks?

Tracing and monitoring MDX query against a SSAS Tabular model - SSAS 2012

$
0
0

Hi,

in order to trace and monitor the MDX query produced an Excel 2013 workbook connected to a SSAS Tabular data model, is it enough to use the SQL Profiler?

I need to see the MDX query produced when a filter/slicer selection occurs inside the Excel workbook.

Many thanks

Calculation with YTD not working

$
0
0

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 wrong?

Kind regards

Lars


Hierarchy in Grid is summing up percentage column

$
0
0

Dear Team,

I have a column which keep PERCENTAGE calculation based on 2 primary columns. This column is a  3 level as far as hierarchy is concerned, so far so good when I expand the Hierarchy in Grid report to 3rd LEVEL it shows the percent values from column as expected.

The problem comes when I drill-up to 2nd LEVEL or 1st LEVEL , here it shows the sum of all the PERCENTAGEs ( the values is showing as 989848% !!!)

 How can I show percentage of the 2nd (and 1st level) as relevant PERCENTAGE values in upper level to. Below screen shot is for your reference :

Any suggestions / hints will help a lot.

TIA

Microsoft Time Series : Get results containing training dat along with predicted data

$
0
0
Hi everybody,

I created a Microsoft Time Series model with month as periodicity.

I would like to create a report which will contain 12 predicted values in a table along with a graph which will show the evolution of the series (the original data along with the 12 predicted values)

I don't succeed to write the query to get 12 predicted values along with 60 original data. I mean by original data, data used for training

My initial query :

SELECT FLATTENED [Model Number of Transaction By Tariff Range].[Tariff Range]
                    ,PREDICTTIMESERIES([Model Number of Transaction By Tariff Range].[Amount] , 12) AS PredictAmount
FROM [Model Number of Transaction By Tariff Range]

How to modify that query to get 60 training data with 12 predicted data ?

tfs

$
0
0

Hi friends,

How to configure team foundation server with windows authentication,,

scenario:

i have a tfs server and i created team project in that tfs server..now i wish to connect my tfs with the help of visual studio....

my question is when im going to connect the tfs it should ask the username and password of the user...for that what should i do...please help me

what is best design practieces Design practices for a calculated measure base on different grain

$
0
0

i have lot of calculated meassuers  around more than 300 and feature going to incare .

like sum,count,percent average etc. base on different grail like geography territory etc.

it is big maintenance problem now, please suggest

Regards,

Manish

What would be the SSAS equivalent for DBCC CHECKDB and RESTORE VERIFYONLY?

$
0
0

Hi,

I'm running SSAS 2008 R2 SP2 x64 on Windows 2008 R2 SP1.

On my development box, had to restore a small SSAS database from an .ABF file (for DR testing purposes).

I was unable to restore it because of the following errors (I translated them from the original French messages)

Metadata manager errors : errors loading XYZ linked dimension from file c:\program files\... XYZ 1.4.dim.xml

Errors loading cube from SQLSERVER cube from file c:\program files\... Cube from SQLServer.4.3.cub.xml

So, looks like the underlying SSAS database was corrupt in some way, and its ABF dump file as well.

Fortunately, this was just a dummy database for testing, so there's no data loss to regret.

So, my questions would be :

1. Does SSAS provide an equivalent to DBCC CHECKDB (database health check), I'd like to detect when an SSAS

database corrupts...

2. Does SSAS restore command provide a VERIFY parameter (like T-SQL RESTORE VERIFYONLY)?

Thanks!


Sebastian Sajaroff Senior DBA Pharmacies Jean Coutu

MDX- FILTER single LAST MONTH YTD, MTD, LYTD,LMTD value

$
0
0

GoodDay,

I'm looking for a way to calculate MTD,YTD, LYTD BUT single only for the last/previous month:

MTD,YTD, LYTD I have give me monthly values (for each month) but I need only single value for the last/previous month. 

YTD : SUM(YTD ([DateTime].[Monthly].CurrentMember),[Measures].[Net Sales - Amt])
LYTD: SUM(YTD(PARALLELPERIOD([DateTime].[Monthly].[Year],1,closingperiod([DateTime].[Monthly].[Date]))),[Measures].[Net Sales - Amt])

So technically I have YTD/LYTD Monthly calculated measures - but how do I pick up single YTD/LYTD value corresponding to last/previous month?

Thank you!



Accessing SSAS Cubes with Excel - Parameter Question

$
0
0

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 measure from the 'beginning of time' to the date chosen.

Below is part of the mdx script that I have prepared.  The date is currently hard-coded for testing purposes but again I want the user to be able to choose the date.

SUM({NULL:[Dim Date 1].[CALENDAR].[full date].[2013-06-21 00:00:00.000]},[Measures].[EVENT])

When trying to achieve my objective from above, should I be creating a calculated member in SSAS or create it on the Excel side?  If SSAS, then how would the parameter be passed from Excel into the calculated member?

Suggestions are helpful.  

Thanks. 


SSAS .abf file without partitions of fact table

$
0
0

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 from DEV backup it contains only 4 months of data so it as only 4paritions. But SIT conatins 8 months data they are not showing up even after full cube process. i came to know that we must take a fresh .abf file without processing. How can i take it??

Note: I cannot create partions from SSMS.

Thanks in advance

SQL Profiler specific permission to execute a trace on SSAS and SQL

$
0
0

Hello everybody,

We face a strange issue with the SQL Profiler for SQL Server 2012.

We're 3 different person to use it and we have 3 differents situations:

1) I, sysadmin on both SQL Server and SSAS, can execute the SQL Profiler on a SSAS and see every query passed on each SSAS database --> which is quite the job.

2) Another colleague, which is also full control on every SSAS database but only dbo in SQL can not start the SQL Profiler at all. When he tries, he gets this error message: "Cannot retrieve trace definition for SQL Server version 11.0.3000". I checked some online solutions but without success. If he try to start the profiler directly (without starting SSMS first), he gets another error message: "Cannot connect to ... . The operation could not be completed (pfutil)". If he tries to run a trace over a SQL database, he receives a message which indicates that he must be granted the "Alter trace" permission

3) A colleague, which is also full control on each SSAS database and dbo in SQL can execute a trace on the SSAS server but can only see the event on 1 specific SSAS database. I checked with him, he is full control on every databases and there is no filter applied in his trace. Sometimes, he receives the same messages as colleague N°2 but just close the profiler and open it again to make it works --> weird

How can we solve this?

1) Is there a solution to avoid error messages when starting SQL Profiler

2) Is there any particular permission to grant to run a trace over every ssas databases?

Thanks for your help!

SSDT 2012 BI - Cube Calculations Color's are wrong

$
0
0
Hi All

I'm doing my first Cube Calculations development in SSDT 2012 BI. The syntax highlighting colors have changed from previous versions. All my Keywords are Green, excatly the same as comments. This makes it really hard to read. Below is a screenshot. Anyone know how to fix this and get the colors used in previous BIDS versions?

Thanks


Craig Bryden - Please mark correct and/or helpful answers

Switch data sources for only 1 table?

$
0
0

Greetings. In AS 2012 Tabular, I see that I have 3 existing connections. One connection is used as the source for most of the tables, but the other two connections are the source for one table each. I'd like to change the source for those two other tables to use the main data connection, but can't figure out how?

My logical guess would be in the table properties, but that's not it.

Any ideas?


TIA, ChrisRDBA

Exclude SSAS from endpoint protection - found unknown file extensions in SSAS folder

$
0
0

Hi.

I have to provide to our administrators the information how to configure endpoint protection on a SSAS server. Are there some guides with a best practice setup for this available?

My actual plans are regarding a KB article I found:

  1. Exclude MSMDSrv.exe process
  2. Exclude the list of SSAS file by extension

To create the list of used extensions I created a list of available extensions in the OLAP folder. I found more than should be officially used by SSAS. So for what are the unknown files used? Or would it more practicable to exclude the OLAP folders.

Regards,

Nils

Key Store Files:
 
    Key store file: .kstore
    Hash store file: .khstore
    String store file: .ksstore
    String store file index: .ksstoreidx
 
Property Store Files
    Main Stored File: .astore
    Hash Stored File: .ahstore
    String Stored File: .asstore
    String Stored File Indexes: .asstoreidx
 
BLOB Store
    Main Store File: .bstore
    String Store file: .bsstore
    String Store file index: .bsstoreidx

Unary Store
    .ustore
    
Analysis Services Cube Files
    .cub
 
Map Store Files
    Header File: .hdr
    Map Store File:.data
    Deleted member Store File:.hstore

Analysis Services Dimension Files
    .dim
 
SSAS Backup File
    .abf
 
Analysis Services Data Store File
 
Hierarchy Files:
 
    Decoding Table: .dstore
    Structure Store File:.lstore
    Set Store: .sstore
    Order Store:.ostore
    
Lazy Processing stores
    .vmp
    
unknown
    .asm
    .bin
    .db
    .det
    .det
    .ds
    .map
    .pdb
    .prt

    .xml (usage)

Viewing all 14337 articles
Browse latest View live


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