business-intelligence

Cross-Tabulate Non-Numeric Data in Cognos BI

ⅰ亾dé卋堺 提交于 2019-12-13 05:47:46
问题 I have a set of data which right now I have in a List. It looks something like this (sample data obviously) Event ID | Field Name | Value ------------------------------------- EV123 | Name | John EV456 | Name | Karen EV789 | Name | Bob EV123 | City | New York EV456 | City | Chicago EV789 | City | Los Angeles EV123 | State | NY EV456 | State | IL EV789 | State | CA The Event ID and Field name values are all unique - for each combination of Event and Field Name there is only 1 row. There are

Updating dimension tables using SQL Server (BIDs or Data Tools)

99封情书 提交于 2019-12-13 05:12:49
问题 I'm quite confused as to how I'm supposed to be adding dimension members to my data warehouse. Let's say that TOWN_NAME is a dimension table that links town_Id to a town_name. So, now, I have 1000 customer names, and they are from 9 towns. Suddenly, in my next ETL process, a customer ends up being added whose town is not amongst that 9 towns i have in my dimension. So I need to add a member to my dimension table. Which step/process in BIDS or DATA TOOLS (BIDS 2012) would have I to use? How

One to one relationship in data warehouse

风流意气都作罢 提交于 2019-12-13 02:56:14
问题 Simple scenario: I'd like to create data warehouse which information about "issues" (cost, wroking time etc.). issue also has status which might change over time. So then i'm creating fact table called issueRealization decribing each issue. My question is: should i create "issue" dimension which will give me one to one relationship beetwen dimension and fact table? Or i should divide Issue dimension to smallest dimension like status etc? 回答1: Issue status tracking is a good case to use an

SSRS 2008 R2: How to apply filtering on Excel columns while exporting report(.rdl)

时光毁灭记忆、已成空白 提交于 2019-12-13 00:43:35
问题 SSRS 2008 R2: I have created a report(.rdl) using Shared datasource. I am following the tabular approach to generate the report. While exporting the report to excel I need to apply the filters to all the columns, so that the generated excel will have the filtration in its columns. But I am unable to find any option with respect to it. Current Generated excel Expected Generated excel Please let me know in case of any other information is required. 来源: https://stackoverflow.com/questions

MDX permission error when I call a table in SQL Server instance

早过忘川 提交于 2019-12-12 23:25:39
问题 I am trying to execute this query in MDX INSERT INTO MINING STRUCTURE [People1] ([CustID], [Name], [Gender], [Age], [CarMake],[CarModel]) OPENQUERY(Chapter3Data, 'SELECT [Key], Name, Gender, Age, CarMake, CarModel FROM People') I have a database Chapter3Data with people table in my SQL Server instance, but I get this error : Executing the query ... Either the 'Ehsan\ehsan akbar' user does not have permission to access the 'Chapter3Data' object, or the object does not exist. Execution complete

Azure Analysis Services maximum allowable memory issue

只谈情不闲聊 提交于 2019-12-12 05:50:16
问题 I have an issue which I am encountering quite often lately. I am using Analysis services Standard tier ie. having 20GB of memory. However sometimes when I process the cube i get the following error: "Exception: Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'You have reached the maximum allowable memory allocation for your tier. Consider upgrading to a tier with more available memory. Technical Details: RootActivityId: e024b2d1-ce22

Crystal Report: How can I use a list of parameter items as a group?

拜拜、爱过 提交于 2019-12-12 05:27:16
问题 Background I have a Crystal Report. For multiple items entered into a parameter (which I believe becomes a string array), I would like it to group by those values and then run a number of sub-reports for each group item. Goal For items entered as part of a parameter (which allows multiple items), use those items as a group so that I can see multiple sub-reports for those items (including if no data can be found for a given item). To clarify, the desired process is: User runs the report User

group MongoDB collection by month and aggregate revenue for churn/revenue chart

99封情书 提交于 2019-12-12 02:05:09
问题 db.orders (only small excerpt) { "_id" : "20101200221", "order_date" : ISODate("2010-12-12T13:11:15Z"), "net_revenue" : 19.36, "customer_id" : "aaa@gmx.net" } { "_id" : "20111003701", "order_date" : ISODate("2011-10-12T08:40:55Z"), "net_revenue" : 15.13, "customer_id" : "aaa@gmx.net" } { "_id" : "20111204977", "order_date" : ISODate("2011-12-07T09:13:47Z"), "net_revenue" : 15.13, "customer_id" : "aaa@gmx.net" } { "_id" : "20120206778", "order_date" : ISODate("2012-02-04T09:46:35Z"), "net

MongoDB for BI use

泪湿孤枕 提交于 2019-12-12 01:58:40
问题 Actually we want to use MongoDB for some BI processing and we don't know which schema is more suited in our case to get the job done. Imagine we got 100 000 data describing sales of a certain network, do we have to put all this data in one array? (like this) { "_id" : ObjectId() "dataset" : "set1", "values" : [ {"property":"value_1"}, . . . . {"property":"value_100000"} ] } Or for each entry a document? (like this) {"_id: ObjectId(), "property":"value_1"} . . . {"_id: ObjectId(), "property":

SSIS Package 2005 - dynamic ToLine

a 夏天 提交于 2019-12-11 18:55:15
问题 I need to route an email using the Send Mail Task, in SSIS 2005 depending on a variable within a script task. So, far, I've created a Variable in the variables tab, but can't seem to figure out where to set it, or how to access it using the code. Apologies for the vague question, but this isn't my bag, and i'm trying to help out another team. I can send through more detail if required. Public Function SetEmailAddress(ByVal variable x As String) As String if x = y then set the isConfirmation