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

Custom Aggegations on Parent Child Dimension

$
0
0

Morning All,

I have a parent child dimension(where no specific levels defined). The leaf level calculation is division. But I need to summed up at the non-leaf levels(higher levels) . I used Isleaf function to differentiate leaf and non-leaf levels to apply the scope calculations. But the performance is very poor.

I cannot use Leaves() function as I need this aggregation to be worked on multiple hierarchies in multiple dimensions.(Because I see only the latest scopes will be considered here!!!??)

Is there any other way to (block method) differentiate leaf and non-leaf levels in parent child dimension?

Thanks in Advance and Best Regards,

---------------


PowerPivot Data in Excel with no measures selected

$
0
0

I'm sure many people have seen this problem but I can't find an answer or the right wording for it. In SSAS I have built a tabular model with relationships between 3 tables. For simplicity sake, lets call them Invoice Header, Invoice Lines, and Store Locations.

Invoice Header Links to Invoice Lines based on the invoice number in both tables.  Store Locations links to Invoice Header based on Location ID in both tables.  I have added sums to the Invoice Header and Invoice Items but not the Store Location table, it doesn't have any columns that would be considered measures.

If I select the data (dimension) columns within power pivot but don't select any measures, I get some weird issues within duplicated information when I select columns from different source tables for example.

  When I select the Store Location ID from the Invoice Header I see a 1 entry per store ID (makes sense), but then when I add the Store Name from the Store Location table, every store name that exists in the store table is repeated under every store ID.  As I have a relationship between the 2 tables, I should only see the store name relevant to the Store ID.

In my searching, I found a post which stated the problem will be resolved when I select a measure (which it does) however, I foresee times when the user may not need to select a measure value (depending on the type of information the user is trying to obtain).

I also have the same model setup in a multi dimensional cube environment with the same data but do not have the problem above.  Is there anything I can do to resolve the issue or is this a known bug using tabular models with power pivot?

Thanks


MDX experiences different performance by different role

$
0
0

This is very confused for me. I have a MDX and it can be run only few seconds by me. I am power user. But if it was run by another user who is in the limited role, the query takes forever.

This MDX is not related to the secured cell/dimensions. And it is using nonempty function to filter out null values.

I was using Profiler to trace. But the query just hung there. What can I do to troubleshooting?

Thanks in advance,

:)


:)

I am not able to see build and deploy option in Explorer

$
0
0

Hi All,

I developed my SSAS Cube and i deployed ,i did some calculation in calculation TAB,i am suppose to build my cube at the time i am not able to see build and deploy  option for my cube in solution explore. 

can any one help me on this 

Regards

Mallis

Why would an ostore file be missing? Is it related to constant "attribute key cannot be found" errors?

$
0
0

Hi,

We've backed up and restored an SSAS 2014 database from QA to a UAT server and now the thing will not process.  We get the same error every time("Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table...The attribute is 'Policy Dimension Key', Dimension: Dimension name").  In every case, the error mentions the same fact table, the same dimension, and the same key column, but each time with a different key value.  In every case, we can find the dimension key in the results returned from the dimension's source view.

We chose to ignore missing key errors (S&G, just wanted to see what would happen) and that helped us process the database successfully, but while browsing the cube from SSMS, we received an error resembling, "An error occurred accessing file '\\L\Program Files\...\cantrecallfilename.ostore'." In that location, we found other files named similar had ostore files, but the ostore file in the error message did appear to be missing.  We also counted how many files of different types existed for each object, and that confirmed for us that an ostore file was indeed missing.

I read "How To Deal With Corruption in Analysis Services" (https://blogs.msdn.microsoft.com/karang/2010/08/11/how-to-deal-with-corruption-in-analysis-services/), but my question is more about "why does this happen" than "what do we do now."  Also, could the "missing key" processing failure errors be related?  In general, what should one do about a database that won't complete a Process Full?  (Reinstall and try again?)

Much appreciated,
Eric B.

What are the advantage and disadvantage of defining a "fact relationship"?

$
0
0

Hi,

I have created a measure from the dimension table itself. The relationship is defined as fact relationship in the dimension usage.

Is this not considered a good practice? Should I try to create this measure from the fact table instead? Basically, I am looking for advantage and disadvantage of fact relationship.

Any reference or feedback is highly appreciated.

Thank you,

Anish


Anish Tuladhar - Do not forget to mark as answer, only if helpful.:)

How to disable auto refresh in Excel 2007 pivot table

$
0
0

 

Hi all,

i have a pivot table in excel 2007 which connects to the AS2005 database.

 

i have lots of dimensions in report filter field. 

(StoreCode, Year, Month, ProductCategoryCode etc...)

All filters are multiselected.

 

i want to change these filters. But when i change any of the filters and click OK pivot table refreshes my report.

 

i know that it is normal.

 

But i dont want to refresh the refresh the report untill i choose all my filters. My report data is very heavy so i dont want to wait everytime i change the dimension filters.

 

i want to select all my filters and click Refresh button in the Ribbon.

is it possible to disable auto run.

 

is there any way to do that?

 

Thanks Sad

 

SSAS Mysql ODBC data provider

$
0
0

Hi all,

I have created an ODBC dsn(on a MySQL database) and when I tryed to create an SSAS datasource based on it, I get an error (an OLE DB provider error). Attached, you can see the list of screens I  get.

Please help (in my example I choose the Simple OLEDB Provvider but I get the same if I choose OLAP Analysis Services OLE DB Provider).

Thanx.


SSAS MDX - scope to get the below output

$
0
0

Hi folks, 

I have a requirement like below. To create different types (till 11+1 month) which is inclusion of x months of actuals + y months of forecast. I am trying to achieve this in scope as we have the actuals and forecast for each month seperately. I am facing challenges in achieving this in calendar hierarchy unless defining a scope for each level(year,quart and month) separately for each type.

Any idea ?



Thanks in advance,

Paddy

Issues with security by Measures and Calculated Members SSAS2008

$
0
0

Hi,

 

I need to setup a security access (SSAS 2008) on measures and calculated members on my cube and I am not able to find a straight forward way to do this.

Seems to me that the calculated members are not inheriting any of the security access from the measures where the security has been applied from Measures dimension in the Dimension Data tab of the Roles definition dialog.

I have already a role defined on my cube with some basic dimension data restrictions with “Enable Visual Tools” enabled, but now I need to hide some measures also (some of them are calculated members)

 

For example:

 

Measure: M1, M2, M3, M4

Calculated Members: M5 and M6 (M5 is a calculated member from M1 and M2)

 

I need to hide measures M1, M2 and M5 from client cube access throughout client applications.

 

What I did so far:

In Measures dimension in the Dimension Data tab of the Roles definition dialog I’m able to see the natural measures (M1 and M2) and disable them,but not M5 (calculated member).

 

When disabling M1 and M2 only in roles, because of M5 calculated member, in the client application I have an error as: MdxScript(cube name) (6,24) The dimension ‘[M1]’ was not found in the cube when the string, [M1] was parsed."

 

From Measures dimension in the Dimension Data tab of the Roles definition dialog, when scripting the measures I need to hide in Advanced tab / Denied Member Set as:

 

{[Measures].[M1], [Measures].[M2], [Measures].[M5]}

 

…I’ve got the same above error in the client application.

 

With only{[Measures].[M5]} scripted in Dimension Data tab the measure is still visible agg data also. 

 

I do not want to use perspectives or to start create natural measures in DSV in order to have an easy to go work around. My cube has 64 calculated members from various natural measures.

 

 

Any help is very much appreciated.

 

 

 

Proactive Caching is not woking for Dimensions.

$
0
0

Hi,

I have enabled proactive caching on Dimension below is the configuration setup.

Silence Interval 0 seconds and silence override interval also 0 sec

And in notifications tab Polling interval is set to 30 sec and it is enable for incremental updates and i have set up the Polling query Processing Query and Table for the same.

When I add a record to a table in OLTP DB, I don't see the same in dimension. When I process it manually, then i can see the new records in it.

Note: It is working in other AS servers. but for some AS servers it not working. Please let me know if I need to update anything else to see my data being updated automatically with proactive. I am using SQL 2008 R2.

Any help is appreciated.

How to get all the named queries which is used in particular ssas cubes?

$
0
0

Is there any MDX queries available for getting all the named queries which is presented in the cube??

Pls help me to get this result.

SQL Server Analysis services service doesn't start

$
0
0

Hi ALL,

I had installed SQL Server 2012 Entreprise Evaluation which is expired today, since this morning My BI Center is down in SharePoint 2013. 

I had purchased a new license SQL Server 2014 BI enterprise, when i proceed to upgrade, i found  this error : 



error

And when i try to start the service with a domain account or Local system account option i got the error : 

windows could not start the SQL Server Analysis Services (POWERPIVOT) service on Local Computer.

Error 1067: the process terminated unexpectedly.

can someone help me.

regards


SSAS Measure question

$
0
0

So I have my data model and it has Store, Employee ID, and Employee count as well as other columns.  Employee count shows the # of emps working at a given store. We may not have transaction records for all employees.  For example for Store 1 the count could 12 employees but the transactions for that month may only show 10 emps.  There will be numerous transactions. Before we wanted to see an average transaction per employee. So I did a distinct count of emps and then summed up the transactions and divided the two. Now the biz wants that number to be off of the employee count. I cannot sum up the employee count field as it always lists 12. So it looks like this

Store   Emp ID   Emp Count  Transaction #

1          1234           12               1

1          1234           12               2

1          1234           12               3

So what I need to do is figure out a way to capture the store emp count and then be able to sum that up.  So I am thinking something along the lines of a for a distinct store #, pull emp count.  So if we had 100 stores, 1000 transactions, I need to pull 100 records with their emp counts only.  Then be able to sum that up.  Is it doable?

Amount Field round is not working while browse cube from Backend in SSAS

$
0
0

Hi Friends,
I have use Format String as "$#,##0.00;($#,##0.00)" for the Measure Columns in Cube.

In SSAS cube ,Design mode browser is showing Measure column values correctly as $10,010.90. But, From the back end SSAS cube browse (Means Connecting to Analysis services through SSMS) Measure values are  not showing as per Format string like $10,010.90. It is showing as 10010.904444444. Please help on the above issue.

Thanks,

Lucky


Is this what no aggregations looks like?

$
0
0

Hi All,

I'm looking at the cube aggregations tab in a cube project (SQL 2014).  Two our of facts are listed there, and the Aggregations and Estimated Partition Size columns are empty.  Each of the two facts expands to another row.  They both show"Unassigned Aggregation Design," show a hyphen for Aggregations and Estimated Partition Size columns, and then show actual partitions in the Partitions column.  (Like so: "20131031, 20130930, 20130831, ...", and "2008, 2009, 2010, ..." for the lower expanded row.

Is this what no aggregations looks like?  It's been a very long time since I designed a cube and I don't recall what I saw then.

Thanks,
Eric B.

Filtering Customers based on many Marketing Campaigns

$
0
0

We have an existing tabular model that works great. There is a customer dimension table that joins to our sales fact table. The marketing department has kept track of every piece of marketing that they have used to contact our customers (on-site visit, call, email, mailing, etc). I want to bring in this new a new campaign table to my model then allow them to see what campaigns and campaign types were most effective. Are there any links or examples on-line I could use to pattern my solution after?

Basically going from many (sales) to 1 (customer) to many (campaign).

An additional item: they want to be able to see how this group performed compared to customers not in the campaign, customers in other campaigns, or a control group of customers.

I believe this can be done with adding a Dim_Campaign table:

Dim_Campaign

Campaing ID  INT

, Campaign_Namevarchar(50)

,Customer_IDINT (foreign key)

,Campaing_Start_DateDatetime

Or something along these lines.

Extract week number and year from attriibute (i.e . having FullDates ) in MDX?

$
0
0

Hi Folks,

I have an  attribute  [attribute name: Date]  in time dimension which having dates  like full date for Ex: 20-05-2016

Here what i have to showcased is :  Ex: [2016week10]

Extract year and week number from arrtibute [attribute Name:Date]  in MDX

Is it possible ?

Can you kindly help  me out?

Kind Regards,

Chowdary.


Can I read any information about "Power Query" ?

$
0
0

I want to know "Power Query for Analytics and Reporting" of SQL Server 2016.

In "SQL Server 2016 Data sheet", There are "Power Query for Analytics and Reporting".
Today, Jun 1 2016, SQL Server 2016 become GA,
So, I'm looking forward it.

Regards,
Yoshihiro Kawabata

KPI goal dynamically

$
0
0

I have to build some KPI's and I want to be able to change the goal and status outside of BIDS. I read that it can be done with writeback on a specific fact that will hold the specific values.

With a logic of using a Dim attribute like;

Case  When [Territory].[Sales Territory Group]    Is [Territory].[Sales Territory Group].[Europe]      Then .34

Do you know any tutorial for that or can you explain the logic in order to implement it?


Viewing all 14337 articles
Browse latest View live


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