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

SSAS named set with a two dimension attribute tupel

$
0
0

Hello!

In my SSAS Cube I have created a dynamic named set "top 10 e-learnings by language" which consists out of a set of tupels. Each tupel has two attributes out of the same base dimension "training": attribute 1 is "sprache" (language) and attribute 2 is "training text".

CREATE DYNAMIC SET CURRENTCUBE.[Top 10 eTrainings pro Sprache]
 AS Generate(
    { [Training].[Sprache].[Sprache].Members },
    TopCount(
        EXISTING { [Training].[Sprache].CurrentMember * [Training].[Training Text].[Training Text].Members },
        10,
        [Measures].[Teilnahmen eTraining]
    )
), DISPLAY_FOLDER = '\Training'  ;   

Normally a named set would be automatically visible in Excel Pivot under the dimension you used to create the named set, but it seems that named sets with tuples which have more than one attribute are placed in a separate folder "Sets" in between the measures and dimensions.
Additionally in the SSAS cube browser this named set is not visible at all.

Is there any way to tell the named set in which dimension it should appear or any workaround?
(P.S.: The DISPLAY_FOLDER property does not achieve the trick)

Thank you in advance,
Christian


Wrong Aggregate Values

$
0
0

Hi,

I am trying to calculate aggregate value for each mix no from each table but the value is not like expected.

Query as follows

SELECT        RawMaterialPreparation.Uniid, RawMaterialPreparation.MixNo, RawMaterialPreparation.MixQty, SUM(VacuumMixing.MixQty) AS VacuumQty, 
                         SUM(MaterialFilling.FilledQty) AS FilledQty
FROM            MaterialFilling LEFT OUTER JOIN
                         VacuumMixing ON MaterialFilling.VacuumMixId = VacuumMixing.Uniid RIGHT OUTER JOIN
                         RawMaterialPreparation ON VacuumMixing.MixId = RawMaterialPreparation.Uniid
GROUP BY RawMaterialPreparation.Uniid, RawMaterialPreparation.MixNo, RawMaterialPreparation.MixQty
ORDER BY RawMaterialPreparation.Uniid DESC

How to Uninstall/reinstall OLEDB providers for Analysis Services

$
0
0

Hi

I'm running into big problems trying to run Power[anything] in Excel.  PowerPivot, PowerQuery, PowerMap just crash Excel - as soon as I do anything from the PowerPivot toolbar (e.g. just press "Manage").  Sometimes they crash Excel on startup.  They also crash Excel when I attempt to disable them through Options\Addins.

Excel is also refusing to play nice with OLAPPIvotTableExtensions, an excellent tool that I could really do with using in my job.  It crashes Excel on startup unless disabled.

I've tried every kind of install/uninstall, of Excel itself, of the various PowerX components.

One proposed solution here suggests uninstalling the PowerX components, and then:

2) Manually deleting the C:\Program Files (x86) \Microsoft Analysis Services\ + all its sub-folders/contents. Also check for C:\Program Files\Microsoft Analysis Services\;

I'm not comfortable with doing that.  As far as I can tell these files have nothing to do with the operation of my instance of SSAS (2014, local machine): they seem to be the OLEDB providers.  But simply deleting folders under C:\Program Files just causes major hassle in my experience.

I'd like to completely uninstall all the OLEDB providers for SSAS and then install the ones I need.  (At the moment I have folders called10, 110 and 120 in both locations: C:\Program Files\Microsoft Analysis Services, and in the equivalent Program files (x86) location).

I've found this page: https://support.microsoft.com/en-us/kb/2735567 which seems to allow me to download the OLEDB providers.  (No 2014 link on that page, but I guess I can find it)

But how do I uninstall them first?  They don't appear in the Control Panel list of installed software.  I might be able to uninstall the SQL2014 version through SQL3014 Setup (at the moment it's asking me for installation media... will have to download it again from MSDN); but as for the 2012 and 2008R2 versions, I've no idea where the install/uninstall is.

Masking the dimension data in ssas based on role

$
0
0

Hi..

The requirement is to mask dimension data to “N/A” from certain users in SSAS Cube based on role. For example I have my Employee data with Employeedateofbirth, EmployeeName, EmployeeLocation in the Employee Dimension..

For Normal user should see like below:

Employeedateofbirth     EmployeeName              EmployeeLocation

01/01/2015                        Employee1                        UK                     

02/02/2015                        Employee2                        USA                      

 

For a restricted user, should see results in cube, excel and SSRS like below as per role..

Employeedateofbirth     EmployeeName              EmployeeLocation

01/01/2015                        N/A                                       N/A

02/02/2015                        N/A                                      N/A

This we have to Achieve in Cube, Excel and SSSR reports. Please kindly help on this..

Thank you..

Statistical function results in calculated members

$
0
0

Hi Again:

I'm working with the statistical functions Stdev and Median with calculated members.  The only way I can get the "correct" answer is if I have a dimension at the same granularity as the Fact table (Actually it's a degenerate dimension of the FACT table itself).  Otherwise it seems that the measure I'm using with Stdev returns results that are so wildly high, I think it must be acting on the SUM of the measure; because the measure itself is a Summed one.  Does that seem right?

When I try to use the coordinates in the Stdev function, it seems like it is using the wrong set of data points :

stdev( ( [Date].[Date].[Date].members, [Parameter].[Parameter].[Parameter].members ), [Measures].[Value])  returns answers in the thousands when it should be more like 2.5

When used with a query, there would only be a single date member and a specific parameter member.  The total number of fact records is between 200 and 500 with values that range between 0 and 150.  This is the version that gives me answers that resemble the total sum of the [Measures].[Value].

If I add the dimension that is essentially a row number from the fact table, it gives the right answer (slowly, but that will be a different post :)  )

stdev( ( [Date].[Date].[Date].members, [Parameter].[Parameter].[Parameter].members, [FACTTable].[FACTTable].[KeyField].members ), [Measures].[Value])

I get the feeling I'm missing the point... :(  Any guidance greatly appreciated!


Cheers and thanks, Simon

SSAS Tabular stand alone table in Excel - Performance Issue

$
0
0

Hi,

I am working with SSAS Tabular. I have a stand alone table with 60 columns and contains 120K records. Table size is 250MB. And trying to build a tabular report out of it and it is taking longer and throwing exception, screenshot attached.

It might be cross-join issues, as workaround created a dummy measure and using in report. But it working for 10-20 k records and beyond throwing same exception. I have 8 GB RAM and 100 GB free disk space.

Customer wanted it in SSAS Tabular

Please let me know if any solution.

Thanks,

Venkat

 

A set has been encountered that cannot contain calculated members error

$
0
0

Hi All, I am trying to create a calculated member on a dimensin attribute something like below

[Resource].[ResourceID].[All] -

[Resource].[ResourceID].[UnKnown] 

 

I am getting the error "A set has been encountered that cannot contain calculated members" ...can you please help me here on what is wrong


Thanks, Gaurav
http://gauravsqlserver.blogspot.com

getting error the located assembly's manifest definition does not match the assembly reference ...0x80131040

$
0
0
Hi, we run std 2008 r2.  In ssms when trying to browse a cube I get the error u see in the title.  But when rdp'ing to the machine its on and doing same, I can browse.  So far what I'm seeing on the web doesn't apply to sql server.  I'm pretty sure I've browsed this cube before from my local.  Does anyone have a clue?

create MDX Hierarchy for Excel

$
0
0

I have created a new Hierarchy in mdx using the following code.

NONEMPTY((HIERARCHIZE(Descendants([People Primary FeeEarner].[People Structure].[Department Name].Members,[People Primary FeeEarner].[People Structure].[Department Name],Self_and_After))),{[Measures].[Chargeable Hours],[Measures].[Billings],[Measures].[Bill No Charge]})

Now in Performance Point if you create a filter with the above code and then select a multi tree you effectively get a drillable hierarchy.

But if using this as code as a set in excel you can't drill down (using the + sign like in a Dimension hierarchy).

Is it possible to create a member hierarchy in mdx which can then be drilled through like you can with Dimension Hierarchy?

Regards

Error while processing cube

$
0
0

Hi All,

I am trying to debug this cube issue but unable to figure out the root cause of issue. I am quite new to SSAS. Can someone help me to proceed in right direction? Thanks.

07/16/2015 03:30:00,ecc_Cube_CallCenterAgent,Error,1,SA0SQL114,ecc_Cube_CallCenterAgent,ecc_Cube_CallCenterAgent,,Executed as user: AUTOCLUB\gid00103. ... 10.50.6000.34 for 32-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started: 3:30:00 AM  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'Error3 Comments' attribute of the 'AO_Audit' dimension from the 'CallCenterPerformance' database was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC1000007     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Internal error: The operation terminated unsuccessfully.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11C0006     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Server: The current operation was cancelled because another operation in the transaction failed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'ID' attribute of the 'Time' dimension from the 'CallCenterPerformance' database was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000C     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the dimension<c/> with the ID of 'Status Hours'<c/> Name of 'Status Hours' was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'Status Hrs N' attribute of the 'Status Hours' dimension from the 'CallCenterPerformance' database was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000C    Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the dimension<c/> with the ID of 'AceOpoly Goals'<c/> Name of 'AceOpoly Goals' was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'Ace Opoly Key' attribute of the 'AceOpoly Goals' dimension from the 'CallCenterPerformance' database was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC1060000     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: OLE DB error: OLE DB or ODBC error: Operation canceled; HY008.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000C     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the dimension<c/> with the ID of 'Driving School'<c/> Name of 'Driving School' was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'Firm Key' attribute of the 'Driving School' dimension from the 'CallCenterPerformance' database was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000C     Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the dimension<c/> with the ID of 'Kronos Codes'<c/> Name of 'Kronos Codes' was being processed.  End Error  Error: 2015-07-16 03:37:49.80     Code: 0xC11F000D    Source: SSAS - CallCenterEmployee Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the 'PAYCODEID' attribute of the 'Krono...  The package execution fa...  The step failed.,00:07:51,0,0,,,,0

Pivot Table Subtotals

$
0
0

We've converted a Pivot Table from SQL Server to look at a SSAS cube. When the pivot table has more than one row field, we could choose a custom subtotal and the 2nd field items would be subtotaled at the bottom of the pivot table. See below. With the OPAP PT the custom subtotal is greyed out. Is there a way to duplicate what a non-OLAP PT can do?




Dimension Read Definition Inherited in AMO

$
0
0

Hi.

Anyone know in the .NET AMO library where I pick that cube dimension security inherit from database dimension is checked or unchecked?

Thanks

SSAS 2014 - Cubes on Partitioned table

$
0
0

Hi,

I have a table that is partitioned by the Date key. If I needed to create a cube on this partitioned table in SSAS 2014, would I need to partition the cube as well?

Thanks





Get measure value by different condition

$
0
0

Hi,

I am very new to MDX. I have the sales amount measure and date dimension.

I need two measure sales value for the below condition. I am going to display this result in SSRS.

1. For between from date and todate

2. For last week range

Can you please help me to solve this issue?

Thanks,

Hari

Dimension Data Security in a cube

$
0
0

Hi Everyone,

I am designing a BI project that will use Excel and PowerView in SharePoint for reporting, and I want to implement a security in the cube.

I want the security to be able to hide attributes that are not related to user (e.g. based on department)

For instance, 

Employee Name          Department             Salary

Smith Adams               Finance                   10,6000

Kate Henz   Finance                   20,0000

XXXXXX                     Sales                       15,0000

XXXXXX          Operations               12,9900

XXXXXX                       IT                         12,4000

So in this case, the Employee Name marked XXXXX will not display for someone who does not have access to names of employees in that department.


me


SSAS User Based Optimization

$
0
0

Hello Team,

Good Morning! We are trying to use the User Based Optilization property from the existing cube. While trying to execute the User Based Optimization execution steps, We have come across an issue that 'Format of the initialization string does not confirm to specification starting at index 0'. 

We could not be able to understand the exact reason for having this issue. Have made sure that the connection string existed in the cube is 100% correct.

Could you please look into this and do provide your thoughts on the resolution for this issue.

Thank you.

Regards,

Pradeep.

Partitioning sets of data dynamically

$
0
0

Hi,

I have a situation where i have a transactional fact table which consists of date, row type, order number and value.  Simple example below

Date, RowType, OrderNo, Value

01-May, New, A1, 100

01-Jun, Change, A1, -10

01-Jul, Invoiced, A1, -90

What I need to be able to do is somehow select based on a day, the total value of open orders.  I have tried to do this in the database but it becomes fixed and quite cumbersome (this is a simplified example in reality i have line information and line component information).

I am not hugely skilled with MDX and SSAS but know there are some semi-additive functions - could they help me here?  Ideally i want somebody to be able to pick a day and have the total value of only open orders.

So for May its 100, for June its 90 for july its 0.

Hopefully somebody can help me out?

Many thanks in advance,

Dominic

SSAS - Issues Importing from Powerpivot File to Tabular

$
0
0

    I am learning SQL Analysis Services and was following along in a MVA course when I encounter an issue with importing data from a powerpivot excel spreadsheet into tabular. The Workspace server connect tested out ok, but when I try to import the file I get an error message of "The powerpivot workbook could not be imported. The Service account for the workspace database does not have permission to read from powerpivot"

    I reviewed numerous posts about this and updated the security on the folder the file is in, but still cannot seem to get past this issue.  

    Appreciate any feedback you might be able to provide. 

Thanks

 

Clayton Ernsbarger

How implementing the Effective User Name authentication for ssas

$
0
0

Hi,

i have saml token which contains user name and password.

i have to use this token to authunacate the ssas cube date base to open the report.


can any one tell me the How implementing the Effective User Name authentication for ssas.

Thanks

Shivaprasad Pola


Thanks & Regards ShivaPrasad Pola SharePoint Developer/Administrator E-mail:polashivaprasad@hotmail.com

SSAS Measure Issue

$
0
0

Hi Team,

We are working on ROLAP Cube , Front END is SSAS and Data is from Teradata .

One of the measure, we are calculating the count .. The ssas issues COUNT_BIG Function , which is not supported in Teradata .. 

it is giving error .

PLease suggest how to go further.

Thanks & Regards,

Mahesh


Mahesh Alam

Viewing all 14337 articles
Browse latest View live


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