I created a measure in Measure catalogue
I created a measure called "PBT" in measure catalogue. That measure becomes automatically visible in 0measure characteristic.
But in BPS planning level "PBT" is not visible against 0Measure. What could be the reason?
Someone please explain.
thank you ,
Hi,
I read that sometimes there are problems with replication between Measure catalogue and BW ... try this, wjen you are creating the measure go to Utilities ---> BW Master Data --> Measure: Update Bw Master Data; put your measure in the screen and Execute without the check in "Test Run", and try again in BPS level.
Best Regards.
Similar Messages
-
Introduction
In SQL Server Analysis Services (SSAS), you can create a calculated measure in SQL Server Data Tool (SSDT)/Boniness Integrated Development Studio (BIDS). Sometimes you may need to create calculated measure by using AMO in a C# or VB project.
In this article, I will demonstrate so how to create calculated measure using AMO in SSAS?
Prerequisites
Before create calculated measure using AMO, you need to ensure that the following components were installed in your server.
The multidimensional database AdventureWorks Multidimensional Model 2012
A SQL Server with SSIS and SSAS installed
The AMO libraries installed:
X86 Package (SQL_AS_AMO.msi)
X64 Package (SQL_AS_AMO.msi)
Solution
Here is the detail steps to create calculated measure using AMO in SSAS.
Open SSDT and create a new SSIS project.
Drag Script Task to the design surface.
Click SSIS-> Variables to open the Variables window and add two variables that used to connect to the server and database.
Create a connection to connect to SSAS server.
Rename the connection name to ssas.
Double click the Script Task to open Script Task Editor.
Add Connection and Database variables to ReadWriteVariables textbox and then click Edit Script button.
Add AMO reference in the Solution Explore window.
Copy the script below and paste it into the script.
Dim objServer As Server
Dim objDatabase As Database
Dim strDataBaseID As String
Dim objCube As Cube
Dim objMdxScript As MdxScript
Dim objCommand As Command
Dim strCommand As String
objServer = New Server
objServer.Connect("localhost")
objDatabase = objServer.Databases("AdventureWorksDW2012Multidimensional-EE2")
strDataBaseID = objDatabase.ID
If objDatabase.Cubes.Count > 0 Then
objCube = objDatabase.Cubes("Adventure Works")
If objCube.MdxScripts.Count > 0 Then
objMdxScript = objCube.MdxScripts("MdxScript")
objMdxScript = objCube.MdxScripts(0)
Else
objCube.MdxScripts.Add("MdxScript", "MdxScript")
objMdxScript = objCube.MdxScripts("MdxScript")
End If
objCommand = New Command
strCommand = "CREATE MEMBER CURRENTCUBE.[Measures].[Multipy Measures By 3]"
strCommand = strCommand & " AS [Measures].[Internet Sales Amount] * 3, "
strCommand = strCommand & " VISIBLE = 1 ; "
objCommand.Text = strCommand
objMdxScript.Commands.Add(objCommand)
objMdxScript.Update()
objCube.Update()
End If
objServer.Disconnect()
Then you can run this SSIS package to create the calculated measure.
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2012
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
Cannot create "Digital" measuring points on Work Manager 6.0
Hi All,
I am attempting to create "digital" i.e. Pass/Fail measuring points in Work Manager 6.0. I can enter readings as shown below but when I execute a sync, the error message below is shown:
I can use the same measuring point in SAP via IK11 as shown below to create a measuring document using valuation code only. However, the Work Manager requires a numeric characteristic to be added and the "no reading" checkbox to be ticked.
Any help would be greatly appreciated.
Thanks,
JonathanHi Michael,
I tried setting it up with just the two values (0-fail and 1-Pass) and I'm still running into errors. If you could take a look I'd be grateful.
Set up code group with two values:
IK11 allows just the valuation code to be used:
On the device:
As far as I can see this should work but it still creates the same error as previously. Ideally it should work as IK11 and allow the user to select from multiple valuation codes but it appears to still require a characteristic.
One option I tried is to assign a characteristic in addition to the the valuation code and use a 0 reading. This works but is a "workaround" solution in comparison to IK11.
Any help would be really appreciated.
Thanks,
Jonathan -
How to create a measure for COUNT and compare year-to-date/last year?
Hello expert,
I have gone through the Oracle by example tutorial for creating the repository. However, I can't find out how to create a measure to display the COUNT (sequence ID). I tried the Aggregation function on the sequence ID on the Fact table but the report on Answer listed out all the sequence IDs in the database. And did not give me the count of the transaction for the period quarter. If I used the sequence ID on Dim table, the SQL failed.
And also I want to have two counts, one is for the count of transactions by quarter. Another is for count of transaction for the same period quarter.
Please help.
Thanks.....If you use count (or count distinct ) as the aggregation rule in the dropdown in the repository column, it should work. Or you can post the generated logical and physical sql here.
-
SSAS - Creating a Measure For Defects Per Unit
Hello, everyone
I'm attempting to create a Defect Per Unit calculation. I have an odd situation where my source data is recording all of instances of a given Defect (the single defect is recorded in multiple locations, DimLocation). So I'm receiving many rows that I need
to represent as a single defect.
How can I create a measure that will properly count each defect (DimDefect) only once-per-unit? Can I do this without creating a separate fact table and measure group that removes DimLocation? (The location is needed for some other measures but this one
won't use it. My goal is to simplify the cube structure for the user.)
I'm pretty new to MDX so if there is any other information I can provide, I would appreciate it.
Thank you!,
-Aaron B.You can also do the same by using the concept of Semi-Additive Measures or the other turn around you can think of is (SUM of DefectMeasure) / (Count of Defects) ... The only problem with the second approach is you will get a Total of the same which sums
everything and deletes that with the count.. My possible suggestion would be go with Semi - Additive Measure (Last Non Empty / First Non Empty such)... I didn't do this same this MDX way, but I am sure that would be possible too.
Please mark as answer, if this has helped you solve the issue.
Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles. -
Todate Function error on creating YTD measure
I'm trying to create YTD measure using TODATE funtion and and I'm getting the error : To use TODATE function storage level of the query must be static level.
Please help me to know what I might have done wrong and how to correct it.
thanks in advance.
Regards
JsmithYou have incorrectly defined time dimension. Search the forum or check this link:
http://www.rittmanmead.com/2007/04/30/obi-ee-time-dimensions-and-time-series-calculations/ -
Create Ytd measure from essbase accounts
Hi,
We have separate dimension for Year and Period (Month) in Essbase without Ytd member for period. In BIEE, how do we create YTD measure from existing logical column?
Thanks,
GTHi narthan,
According to your description, you want to select data between first day of this year and last day of previous month. If that is the case, we can achieve your goal by two ways:
• Adding where statement to the query without using parameter like below:
where column_name between DATEADD(yy, DATEDIFF(yy,0,getdate()), 0) and dateadd(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate()), 0))
• Adding two parameters named StartDate and EndDate by following steps:
1. In Dataset Properties dialog box, in Query text box, add where statement like below, then the parameters will be created automatically
where column_name between @StartDate and @EndDate
2. In Design surface, expand Parameter node. Right-click @StartDate and open Parameter Properties dialog box.
3. In Data Type drop down list, select Date/Time.
4. In left pane, click Default Values, then select Specify Values.
5. Click (fx) button, in Expression text box, type the following expression, then click OK to save the options.
=DateSerial(YEAR(Today()),1,1)
6. Right click @Enddate and set Data Type to Date/Time as step3.
7. Repeat the options of step4 and 5 above, and type the expression like below, then click OK.
=DateAdd("d",-(Day(today())), Today())
For more information about Adding Parameters to Filter Reports by Date, please refer to the following document:
http://technet.microsoft.com/en-us/library/aa337401(v=SQL.105).aspx
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu -
WEBI - unverses: create rolling measures
hi all,
i'm working with webi on olap universes on bex queries.
i need to create a rolling measure that, for every year/month, aggregates the current month and the previous 11 (every month contain the values of an year).
i used this code creating a new object in universe:
<EXPRESSION>(AGGREGATE([0CALMONTH].CurrentMember.Lag(11):[0CALMONTH].CurrentMember,[Measures].[4NQFO211SO3LFWE1RV0PLRFXR]) )</EXPRESSION>
but it doesn't work well.
do you have ideas to correct my code?
thanks all!Hi,
1)To have a range of months as input
2)Create a table in which for each month in the range (in rows), the following 12 months of forecast are displayed (in columns)
As far as I know EXITs based on input from user are still not supported.
Probably it is not the classic rolling forecast scenario, but this is why I told "It depends on complexity of report".
>> EXIT Variables with Input are supported. the part that is not supported in XI 3.1 is the fact that the default value is set in the prompting dialog but the user will receive the values.
To me the scenario clearly requires an EXIT variable as otherwise you can not leverage the system date from the BW system and you are back to having to ask for 2 dates as a date range.
if you want to create 12 keyfigures or 1 - that depends to some degree on what the report is supposed to look like and what the user is supposed to be able to do with the data.
regards
Ingo -
How to create count() measure for certain set of records in BMM Layer
Hello all.
I have a logical table like this one (Table AAA)
Table AAA
<p>
--------------------------+<p>
| *Key* | *Name* | <p>
--------------------------+<p>
| 1-2EMHS9 | AAA |<p>
--------------------------+<p>
| 1-2EMWMO | BBB |<p>
--------------------------+<p>
| NULL | CCC |<p>
--------------------------+<p>
I need to calculate count() of records where <b>Key is not NULL</b>. In this example, this field must return coun() = 2.
I suppose, CASE operator may help me with that, but I do not know for sure how to do this.
Thank you for help,
Alex.Thank you.
But I must concretise my issue.
I need to calculate number of records (e.g. order_id) that sutisfy appropriate condition (one of columns (e.g. loy_member_id) is set to null).
I created logical column, that returns order_id if condition (loy_member_id is null) is met.
Look at my logical column:
Q Orders (LPM) - must return number of orders where loyalty_member_id is null.
It has an expression:
CASE WHEN NOT "Foxtrot (my) replica"."Sales Orders".LOY_MEMBER_ID IS NULL THEN "Foxtrot (my) replica"."Sales Orders".ORDER_ID ELSE NULL END
So, this returns order_id I need.
But the question is how to count number of <b>order_id</b>'s returned by this column on BMM Layer.
When I define my column with next expression:
*<u>COUNT</u>(CASE WHEN NOT "Foxtrot (my) replica"."Sales Orders".LOY_MEMBER_ID IS NULL THEN "Foxtrot (my) replica"."Sales Orders".ORDER_ID ELSE NULL END)*
I receive error:
+[38083] The Attribute 'Q Orders LPM' defines a measure using an obsolete method.+
Thank you,
Alex.
Edited by: Alex B on 3/3/2009 19:59 -
Creating Essbase measure hierarchy in OBIEE
Hi All,
I have imported Essbase cube(11.1.2) to OBIEE 11.1.1.7 .
In RPD i have clicked on "convert measure dimension to flat measures" in physical layer.
Now measures are showing up as
Meas1
Meas2
Meas3
Meas4
But i want meas2,meas3,meas4 to be child of Meas1 and Meas1 is "level only" .
How to achive this in obiee?
Thanks,
GourabRaj,
I think we can't create Hierarchy for Measures ie for FACT table.
Thanks,
Balaa... -
Have to create logical measure column - Help need
Hi Gurus,
I have a situation like this below. A service request may have activity subtype as breakfix, startup etc. A service request may have only one breakfix or breakfix with additional subtypes like startup etc.
Ex:
Service Request # Activity subtype 2nd subtype
1 breakfix none
2 breakfix startup
3 breakfix none
4 breakfix startup
5 breakfix startup
How do i write a case statement to find out only breakfix as subtype (2) and nbr of service requst with breakfix and other type as 5.
Please guide me how to write.Your requirement would have been better with an example.
I'm writing actual SQL for ease - you'll need to convert
SELECT CASE WHEN activity_subtype = 'breakfix' THEN
CASE WHEN 2nd_subtype = 'startup' THEN
1
END
END count_breakfix_startup,
CASE WHEN activity_subtype = 'breakfix' THEN
CASE WHEN 2nd_subtype = 'startup' THEN
0
ELSE
1
END
END count_breakfix_none
FROM table...You'd need to switch to OBIEE CASE <<expression>> WHEN <<expression>> THEN <<expression>> END syntax. and you will have to hard code every subtype/2nd subtype combination.. (or use a repository variable). -
What is the use of creating a detail object on a measure.
Hi Experts,
In BI 4.X business layer, we can create a detail object of a dimension and as well as measure.
Can you please let me know what could be the use of the detail object of a measure object?
In the business layer, it is showing like this...
<Measure object>
-><Detail Object>
Dimensions have attributes, we create those attributes as details objects.
when we want to see the different grains of the measure in one report. we will use these details objects.
Example:
1. Query 1 returns country, sales revenue
2. Query 2 Returns Country,State,Sales revenue.
But in the report if we want to show the State wise Revenue. It is not possible bcz both the quires are returning different grain.
state object is incompatible object, so you can't drag the object into report.
in this scenario we will merge the Country dimension , create the state object as details with merged dimension, then you can drag the state details detail object.
this will give expected results Country and State wise revenue.
Normally Dimensions and details objects will drives the measures values in report.
So, Detail object on measure not helpful in case of relational database(Please correct me if i am wrong). It is useful only for OLAP database because when I have created a webi report on top of BEx query then it is automatically created a detail object on measure object.
As far I know, 'Measure attribute' introduced for OLAP based business layer. which can provides information for the formatted value like unit, currency or value.
For example:-
Amount is key figure in BEx query and when I have created Webi report on top of that then it will create three object.
1. Amount as meausre.
->2. Amount currency(detail).
->3. Amount formatted value(detail).
Below is the output after running the report.
Amount || Amount currency || Amount formatted value
30 || $ || 30.00
8 || $ || 8.00
I have found one difference, We can't implement the index awareness on detail object which we have created on measure object although we can implement the index awareness on detail object which we have created on top dimension object.
But Still I am looking for good example of Detail object on measure object..
Any thought would be welcome...
Thanks,
SachinI moved this to the Semantic Layer space for faster response.
-
How to create a custom measure for each level of a dimension
Hi all!
Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
one or more measures.
thanks in advance
hope someone helps me.For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
d_aben18
n1_aben18
n2_aben18
n3_aben18
n4_aben18
herarchy:h_aben18
cube:cubo_aben18
measure:med_aben18
I create this code to fetch the data to the dimension:
TRAP ON CLEANUP
SQL DECLARE c1 CURSOR FOR SELECT-
total_product_id,1,'N1_ABEN18',total_product_dsc,-
class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
family_id,1,'N3_ABEN18', class_id, family_dsc,-
item_id,1,'N4_ABEN18',family_id,item_dsc-
FROM PRODUCT_DIM
"OPEN THE CURSOR
SQL OPEN c1
"FETCH THE DATA
SQL FETCH c1 LOOP INTO-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
"SAVE THE CHANGES
UPDATE
COMMIT
CLEANUP:
SQL CLOSE c1
SHOW 'KK2'
Then I create a cube with use compression off, and in rules sum for example.
After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
for that I create another program:
VRB D_RETURN DECIMAL
if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
then D_RETURN = 1
if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
then D_RETURN = 2
if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
then D_RETURN = 3
if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
then D_RETURN = 4
else d_return=26
return d_return
"SHOW D_RETURN
cubo_aben18_med_aben18_stored=d_return
but it doesnt work.I dont know how to put to assign or to see what I want.
I report the measure, or I report the program, but then how can I see the values of the measure?
thanks in advance -
Ssrs 2014 errorrule 'Create list of measure group-dimension pairs
I'm getting this error generating a model for a ssas tabular model in ssrs 2014. When I test the tabulur definition in Excel under SSAS everything works fine and there are no errors.
Thanks
From the log
semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
An error occurred while executing rule 'Create list of measure group-dimension pairs':Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
library!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while
generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationDiagnostics.Assert(Boolean condition, String message, Boolean throwOnFail)
at Microsoft.AnalysisServices.Modeling.Generation.Rules.MapMeasureGroupsToDegenerateDimensions.Process(RuleFlowRecords& generatedRules, RuleExecutionRequirement& rulesExecutionRequirement)
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
--- End of inner exception stack trace ---
at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerator.Generate()
at Microsoft.AnalysisServices.Modeling.Generation.ModelGeneratorExtention.ReGenerateModel(IDbConnection connection, XmlReader currentModelReader, XmlWriter newModelWriter)
at Microsoft.ReportingServices.Library.GenerateModelAction.GenerateModel(DataSourceInfo dataSource)
--- End of inner exception stack trace ---;
ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException:
An error occurred while generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for
cube dimension '[$DimDate].[DimDate]'.. ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: HTTP status code --> 200
-------Details--------
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while generating model.
---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-1!b58!06/13/2014-15:39:25:: i INFO: Call to GetSystemPropertiesAction().
ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
library!WindowsService_2!bd0!06/13/2014-15:41:25:: i INFO: Call to CleanBatch()
library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Call to CleanBatch() ends
rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/ReportServer_SQLEXPRESS/ on endpoint 2
rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/Reports_SQLEXPRESS/ on endpoint 3
rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_SQLEXPRESS/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\ReportServer\ReportBuilder.
rshost!rshost!e38!06/13/2014-19:37:27:: i INFO: Derived memory configuration based on physical memory as 16487384 KB
appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:27:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unregistered.
library!WindowsService_2!22c!06/13/2014-19:37:29:: i INFO: Call to CleanBatch()
appdomainmanager!ReportServer_0-1!e38!06/13/2014-19:37:30:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unloading
appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unregistered.
appdomainmanager!ReportManager_0-2!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unloading
servicecontroller!DefaultDomain!e38!06/13/2014-19:37:41:: i INFO: Recycling the service from the default domain
dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: EventPolling polling service stopped
dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: NotificationPolling polling service stopped
dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: SchedulePolling polling service stopped
dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: UpgradePolling polling service stopped
runningjobs!WindowsService_2!e38!06/13/2014-19:37:41:: e ERROR: Timer Database Cleanup (NT Service) still executing, breaking...
rshost!rshost!e38!06/13/2014-19:37:48:: i INFO: Application domain type WindowsService statistics: created: 3, unloaded: 3, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:48:: i INFO: Appdomain:7 WindowsService_3 started.
library!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout
or low disk condition within the database.;
library!WindowsService_2!22c!06/13/2014-19:37:52:: w WARN: Transaction rollback was not executed connection is invalid
dbcleanup!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Error in CleanExpiredSessions: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be due to a connection
failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Database 'ReportServer$SQLEXPRESSTempDB' is being recovered. Waiting until recovery is finished.
library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Minidump location: C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\Logfiles
resourceutilities!WindowsService_3!e38!06/13/2014-19:37:56:: i INFO: Reporting Services starting SKU: DeveloperHi shiftbit,
According to your description, you get an empty Measure Group Columns list when defining relationship. Right?
Based on your screenshot, you may notice that Measure group table is empty, so definitely it can't show any column in the dropdown list. If there's columns in the measure group that are related to the dimension columns, at least it will show the fact
table for Measure group.
In this scenario, please check if the fact table for the Measure group is existing. Re-process the Measure group and try again. If the issue persists, please re-create that measure group.
Reference:
Define Relationship Dialog Box (Analysis Services - Multidimensional Data)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support -
Creating a TEXT calculated measure
Is it possible to create a calculated measure of data type TEXT using AWM ?
I want to do the equivalent of defining an OLAP DML formula which returns a text value, but I want to be able to store the formula in the OLAP metadata.
I'm familiar with creating "dummy" calculated measures in AWM, saving to an XML template file, then editting the XML and reimporting, to define more complex calculated measures than the AWM wizard provides for, but I still haven't been able to successfully create a calculated measure which returns TEXT.
I've tried changing the XML from DataType="Decimal" to DataType="Text", but there are other sections in the XML such as:
CalcStep StepClass='oracle.dss.selection.calcStep.SimpleMathCalcStep
and:
CalcValue DataType='java.lang.Double'
which I think are also having an impact.
Any examples would be much appreciated.
Thanks,
Andy WhiteI have succesfully created text-valued measures with the AWM graphical interface. You need to make sure when you define the data cube that it does not have the "compressed" option checked, then you will get TEXT as one of the choices of data when you create a measure.
Maybe you are looking for
-
I want to edit individual frames in FCE
I am getting into some special effects, so I want to be able to take individual video frames and edit them in a program like Photoshop. Then put them back into FCE. How do I do this?
-
Safari in v 10.5.8 keeps crashing on launch
Hi, hoping someone may be able to help. Safari (latest v. for Leopard) keeps crashing after a few seconds of it being launched. The last thing I did was run Onyx. I have tried various things mentioned in other posts i.e. went to clear InputManagers b
-
hi; I'm totally new to the oracle databases field...am trying to startup the database using the parameter file init.ora by using the command startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora' But its giving me the following error: ORA-0
-
sorry to ask such a stupid question but i cant waste more time on this. i'm trying to make a wreath. i've made my leaves which look like this. now i want to add them to a path that i can manouvre into place. i've tried adding them as a brush howeve
-
Hello, I've gotten a queue (owned by user A), on which user B wants to post a message. I took care that user B got the privileges to do so (dbms_aqadm.grant_queue_privilege). And indeed, user B can post messages. However, if user B tries to post a me