SlideShare a Scribd company logo
1 of 3
What are calculation contexts?
The calculation context is the data that a calculation takes into account to
generate a result. Web Intelligence, this means that the value given by a
measure is determined by the dimensions used to calculate the measure.
A report contains two kinds of objects:
• Dimensions represent business data that generate figures. Store outlets,
years or regions are examples of dimension data. For example, a store
outlet, a year or a region can generate revenue: we can talk about revenue
by store, revenue by year or revenue by region.
• Measures are numerical data generated by dimension data. Examples
of measure are revenue and number of sales. For example, we can talk
about the number of sales made in a particular store.
Measures can also be generated by combinations of dimension data. For
example, we can talk about the revenue generated by a particular store in
2005.
The calculation context of a measure has two components:
• the dimension or list of dimensions that determine the measure value
• the part of the dimension data that determines the measure value
The calculation context has two components:
• The input context
• The output context
The input context
The input context of a measure or formula is the list of dimensions that feed
into the calculation.
The list of dimensions in an input context appears inside the parentheses of
the function that outputs the value. The list of dimensions must also be
enclosed in parentheses (even if it contains only one dimension) and the
dimensions must be separated by semicolons.
Example: Specifying an input context
In a report with Year sections and a block in each section with Customer
and Revenue columns, the input contexts are:
Report part Input context
Section header and block footers Year
Rows in the block Year, Customer
In other words, the section headers and block footers show aggregated
revenue by Year, and each row in the block shows revenue aggregated by
Year and Customer (the revenue generated by that customer in the year
in question).
When specified explicitly in a formula, these input contexts are:
Sum ([Revenue] In ([Year]))
Sum ([Revenue] In ([Year];[Customer]))
That is, the dimensions in the input context appear inside the parentheses
of the function (in this case, Sum) whose input context is specified.
The output context
The output context causes the formula to output a value is if it is placed in
the footer of a block containing a break.
Example: Specifying an output context
The following report shows revenue by year and quarter, with a break on
year, and the minimum revenue calculated by year:
Using Functions, Formulas and Calculations in Web Intelligence 25
Understanding calculation contexts 3
What are calculation contexts?
What if you want to show the minimum revenue by year in a block with no
break? You can do this by specifying the output context in a formula. In this
case, the formula looks like this:
Min ([Revenue]) In ([Year])
That is, the output context appears after the parentheses of the function
whose output context you are specifying. In this case, the output context
tells Web Intelligence to calculate minimum revenue by year.
If you add an additional column containing this formula to the block, the
result is as follows:
26 Using Functions, Formulas and Calculations in Web Intelligence
3 Understanding calculation contexts What are calculation contexts?
You can see that the Min By Year column contains the minimum revenues
that appear in the break footers in the previous report.
Notice that in this example, the input context is not specified because it is
the default context (Year, Quarter) for the block. In other words, the output
context tells Web Intelligence which revenue by year and quarter to output.
In full, with both input and output formulas explicitly specified, the formula
looks like this:
Min ([Sales Revenue] In([Year];[Quarter])) In ([Year])
Explained in words, this formula tells Web Intelligence to “calculate revenues
by year by quarter, then output the smallest of these revenues that occurs
in each year”.
What would happen if you did not specify the output context in the Min by
Year column? In this case, these figures would be identical to the figures
in the Sales Revenue column. Why? Remember that the default context in
a block includes the dimensions in that block. The minimum revenue by
year by quarter is the same as the revenue by year by quarter simply,
because there is only one revenue for each year/quarter combination.
Report part Input context

More Related Content

What's hot

Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot tablesamikshaa sinha
 
Activity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisActivity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisJarryMikols
 
Activity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisActivity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisAnaparolo2
 
SAP ISU : Budget Billing Basics
SAP ISU : Budget Billing BasicsSAP ISU : Budget Billing Basics
SAP ISU : Budget Billing BasicsRakesh Dasgupta
 
Busn 278 midterm spring 2016
Busn 278 midterm   spring 2016Busn 278 midterm   spring 2016
Busn 278 midterm spring 2016sergejsvolkovs10
 
Dervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-newDervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-newindividual484
 
Excel 2016 | Module 3: SAM Project 1a Pick Up Motors
Excel 2016 | Module 3: SAM Project 1a Pick Up MotorsExcel 2016 | Module 3: SAM Project 1a Pick Up Motors
Excel 2016 | Module 3: SAM Project 1a Pick Up MotorsAlexHunetr
 
exploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionexploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionJackCandtona
 
Budget Billing : Payment Scheme
Budget Billing : Payment SchemeBudget Billing : Payment Scheme
Budget Billing : Payment SchemeRakesh Dasgupta
 
Analysis by Dimensions online training
Analysis by Dimensions online training   Analysis by Dimensions online training
Analysis by Dimensions online training Scroll Up
 
Kb11 N Manual Reposting Of Costs
Kb11 N Manual Reposting Of CostsKb11 N Manual Reposting Of Costs
Kb11 N Manual Reposting Of Costswhocanbe1
 
Devry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newDevry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newshyaminfo104
 
Scoring documentation
Scoring documentationScoring documentation
Scoring documentationFatima Khalid
 
Devry bis 155 final exam guide
Devry bis 155 final exam guideDevry bis 155 final exam guide
Devry bis 155 final exam guideuopassignment
 
Dervy bis-155-final-exam-guide-cool-clocks-inc-new
Dervy bis-155-final-exam-guide-cool-clocks-inc-newDervy bis-155-final-exam-guide-cool-clocks-inc-new
Dervy bis-155-final-exam-guide-cool-clocks-inc-newindividual484
 
Devry bis-155-final-exam-guide
Devry bis-155-final-exam-guideDevry bis-155-final-exam-guide
Devry bis-155-final-exam-guideshyaminfo104
 
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...AlexHunetr
 
BIS 155 Education Specialist / snaptutorial.com
BIS 155  Education Specialist / snaptutorial.comBIS 155  Education Specialist / snaptutorial.com
BIS 155 Education Specialist / snaptutorial.comMcdonaldRyan131
 

What's hot (19)

Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot table
 
Print18
Print18Print18
Print18
 
Activity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisActivity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity Analysis
 
Activity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity AnalysisActivity Instructions: Short-Term Liquidity Analysis
Activity Instructions: Short-Term Liquidity Analysis
 
SAP ISU : Budget Billing Basics
SAP ISU : Budget Billing BasicsSAP ISU : Budget Billing Basics
SAP ISU : Budget Billing Basics
 
Busn 278 midterm spring 2016
Busn 278 midterm   spring 2016Busn 278 midterm   spring 2016
Busn 278 midterm spring 2016
 
Dervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-newDervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-new
 
Excel 2016 | Module 3: SAM Project 1a Pick Up Motors
Excel 2016 | Module 3: SAM Project 1a Pick Up MotorsExcel 2016 | Module 3: SAM Project 1a Pick Up Motors
Excel 2016 | Module 3: SAM Project 1a Pick Up Motors
 
exploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionexploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solution
 
Budget Billing : Payment Scheme
Budget Billing : Payment SchemeBudget Billing : Payment Scheme
Budget Billing : Payment Scheme
 
Analysis by Dimensions online training
Analysis by Dimensions online training   Analysis by Dimensions online training
Analysis by Dimensions online training
 
Kb11 N Manual Reposting Of Costs
Kb11 N Manual Reposting Of CostsKb11 N Manual Reposting Of Costs
Kb11 N Manual Reposting Of Costs
 
Devry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newDevry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-new
 
Scoring documentation
Scoring documentationScoring documentation
Scoring documentation
 
Devry bis 155 final exam guide
Devry bis 155 final exam guideDevry bis 155 final exam guide
Devry bis 155 final exam guide
 
Dervy bis-155-final-exam-guide-cool-clocks-inc-new
Dervy bis-155-final-exam-guide-cool-clocks-inc-newDervy bis-155-final-exam-guide-cool-clocks-inc-new
Dervy bis-155-final-exam-guide-cool-clocks-inc-new
 
Devry bis-155-final-exam-guide
Devry bis-155-final-exam-guideDevry bis-155-final-exam-guide
Devry bis-155-final-exam-guide
 
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...
Excel 2013 Chapter 8: SAM Project 1a Precision Guitars WORKING WITH PIVOTTABL...
 
BIS 155 Education Specialist / snaptutorial.com
BIS 155  Education Specialist / snaptutorial.comBIS 155  Education Specialist / snaptutorial.com
BIS 155 Education Specialist / snaptutorial.com
 

Similar to Calculation contexts in web i

Chapter 8 the six column work sheet
Chapter 8 the six column work sheetChapter 8 the six column work sheet
Chapter 8 the six column work sheetIva Walton
 
Calculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxCalculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxSelect Distinct Limited
 
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 
SuperStore Analysist.pptx
SuperStore Analysist.pptxSuperStore Analysist.pptx
SuperStore Analysist.pptxTradeInsight
 
Step 1 After you have logged in, click on getting started”.docx
Step 1 After you have logged in, click on getting started”.docxStep 1 After you have logged in, click on getting started”.docx
Step 1 After you have logged in, click on getting started”.docxdessiechisomjj4
 
Abila MIP Budget Entry Basics and Advanced
Abila MIP Budget Entry Basics and AdvancedAbila MIP Budget Entry Basics and Advanced
Abila MIP Budget Entry Basics and AdvancedNet at Work
 
Chapter 9 financial statements for a sole proprietorship
Chapter 9 financial statements for a sole proprietorshipChapter 9 financial statements for a sole proprietorship
Chapter 9 financial statements for a sole proprietorshipIva Walton
 
ACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comladworkspaces
 
ACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comladworkspaces
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master dataRajeev Kumar
 
financial statements & trial balance
financial statements & trial balancefinancial statements & trial balance
financial statements & trial balancejyotibugade
 
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Cengage Learning
 
S alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceS alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceVaishali Ketkar
 
S alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceS alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceFarooq Wangde
 

Similar to Calculation contexts in web i (20)

Chapter 8 the six column work sheet
Chapter 8 the six column work sheetChapter 8 the six column work sheet
Chapter 8 the six column work sheet
 
Glinterface
GlinterfaceGlinterface
Glinterface
 
Calculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxCalculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptx
 
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 03-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
SuperStore Analysist.pptx
SuperStore Analysist.pptxSuperStore Analysist.pptx
SuperStore Analysist.pptx
 
Step 1 After you have logged in, click on getting started”.docx
Step 1 After you have logged in, click on getting started”.docxStep 1 After you have logged in, click on getting started”.docx
Step 1 After you have logged in, click on getting started”.docx
 
Abila MIP Budget Entry Basics and Advanced
Abila MIP Budget Entry Basics and AdvancedAbila MIP Budget Entry Basics and Advanced
Abila MIP Budget Entry Basics and Advanced
 
Chapter 9 financial statements for a sole proprietorship
Chapter 9 financial statements for a sole proprietorshipChapter 9 financial statements for a sole proprietorship
Chapter 9 financial statements for a sole proprietorship
 
Master data
Master dataMaster data
Master data
 
ACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.com
 
ACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.comACC 561 Education Specialist |tutorialrank.com
ACC 561 Education Specialist |tutorialrank.com
 
Business Case Template Excel
Business Case Template ExcelBusiness Case Template Excel
Business Case Template Excel
 
Variance repoting
Variance repotingVariance repoting
Variance repoting
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master data
 
Summary Account R12 General Ledger
Summary Account R12 General LedgerSummary Account R12 General Ledger
Summary Account R12 General Ledger
 
financial statements & trial balance
financial statements & trial balancefinancial statements & trial balance
financial statements & trial balance
 
Cost element categories
Cost element categoriesCost element categories
Cost element categories
 
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
 
S alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceS alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balance
 
S alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balanceS alr 87012284 - financial statements & trial balance
S alr 87012284 - financial statements & trial balance
 

Calculation contexts in web i

  • 1. What are calculation contexts? The calculation context is the data that a calculation takes into account to generate a result. Web Intelligence, this means that the value given by a measure is determined by the dimensions used to calculate the measure. A report contains two kinds of objects: • Dimensions represent business data that generate figures. Store outlets, years or regions are examples of dimension data. For example, a store outlet, a year or a region can generate revenue: we can talk about revenue by store, revenue by year or revenue by region. • Measures are numerical data generated by dimension data. Examples of measure are revenue and number of sales. For example, we can talk about the number of sales made in a particular store. Measures can also be generated by combinations of dimension data. For example, we can talk about the revenue generated by a particular store in 2005. The calculation context of a measure has two components: • the dimension or list of dimensions that determine the measure value • the part of the dimension data that determines the measure value The calculation context has two components: • The input context • The output context The input context The input context of a measure or formula is the list of dimensions that feed into the calculation. The list of dimensions in an input context appears inside the parentheses of the function that outputs the value. The list of dimensions must also be enclosed in parentheses (even if it contains only one dimension) and the dimensions must be separated by semicolons. Example: Specifying an input context In a report with Year sections and a block in each section with Customer and Revenue columns, the input contexts are: Report part Input context Section header and block footers Year
  • 2. Rows in the block Year, Customer In other words, the section headers and block footers show aggregated revenue by Year, and each row in the block shows revenue aggregated by Year and Customer (the revenue generated by that customer in the year in question). When specified explicitly in a formula, these input contexts are: Sum ([Revenue] In ([Year])) Sum ([Revenue] In ([Year];[Customer])) That is, the dimensions in the input context appear inside the parentheses of the function (in this case, Sum) whose input context is specified. The output context The output context causes the formula to output a value is if it is placed in the footer of a block containing a break. Example: Specifying an output context The following report shows revenue by year and quarter, with a break on year, and the minimum revenue calculated by year: Using Functions, Formulas and Calculations in Web Intelligence 25 Understanding calculation contexts 3 What are calculation contexts? What if you want to show the minimum revenue by year in a block with no break? You can do this by specifying the output context in a formula. In this case, the formula looks like this: Min ([Revenue]) In ([Year]) That is, the output context appears after the parentheses of the function whose output context you are specifying. In this case, the output context tells Web Intelligence to calculate minimum revenue by year. If you add an additional column containing this formula to the block, the result is as follows: 26 Using Functions, Formulas and Calculations in Web Intelligence 3 Understanding calculation contexts What are calculation contexts? You can see that the Min By Year column contains the minimum revenues that appear in the break footers in the previous report. Notice that in this example, the input context is not specified because it is the default context (Year, Quarter) for the block. In other words, the output context tells Web Intelligence which revenue by year and quarter to output. In full, with both input and output formulas explicitly specified, the formula looks like this: Min ([Sales Revenue] In([Year];[Quarter])) In ([Year]) Explained in words, this formula tells Web Intelligence to “calculate revenues by year by quarter, then output the smallest of these revenues that occurs in each year”. What would happen if you did not specify the output context in the Min by Year column? In this case, these figures would be identical to the figures
  • 3. in the Sales Revenue column. Why? Remember that the default context in a block includes the dimensions in that block. The minimum revenue by year by quarter is the same as the revenue by year by quarter simply, because there is only one revenue for each year/quarter combination. Report part Input context