two cross product group with no data link in oracle matrix report - oracle10g

I have 2 cross product groups in my matrix report. I then place a formula column in my master group. Then I want to use this formula column in the other master group, but it gives me an error that both formulas must belong to same cross product group columns (have incompatible frequency).
Both of these cross product groups are not linked with data link.

Related

Eclipse Birt - How to group dimensions in data cube

Eclipse Birt - How to group dimensions in data cube?
I am trying to group dimensions in data cube and insert a sub total row based on ONE single dimension. However, I am not able to find an option to group the dimensions. And, the sub total row is applied to each record not a group.

How can I adjust the cross tab order using a formula in Crystal Reports

I am trying to organize my cross tab labels in a specified order. The table shows students that have left the school by grade level and year. Grade level is dependant on an if - then formula because the database does not have the grade that students left the school. The grade level is calculated by subtracting the withdrawal year from their grad year and then applying a text string based on the result.
When I try to adjust to a specific order there is no option to select the individual groupings as my formula is not available in the common tab. The labels in the column are accurate but just out of order.
Any help would be greatly appreciated. I am fairly new to Crystal reports. Perhaps I am not understanding how a cross tab works or perhaps there are problems with my formula.
current view of order
Cross tab expert view
Easiest solution is to change the formula that generates the labels so they sort alphabetically as you wish. You can pad the numbers with a zero so that '1' becomes '01' or prepend the text with a counter (01., 02., etc.).

Hiding column in Spotfire CrossTable

I have one data table with various identifiers in 3 columns (Called BU, Company, and Group). I created a cross table that sums the face by 2 layers – an identifier (‘Actual’ and ‘Plan’) and a reporting period (‘9/30/16’ and '9/30/17'). The table was easy, aside from the variance section. I am currently using the formula to compute the variance
SN(Sum([Face]) - Sum([Face]) OVER (ParallelPeriod([Axis.Columns])),
Sum([Face])) AS [PlanVariance]
Unfortunately, this gives me the correct values in the Plan Variance section of the cross table, for the plan identifier. However, it provides the wrong values in the actual identifier. (The actual identifier under plan variance is equal to the actual identifier under the Sum (Face) section. If I remove the SN function, the Plan Variance is empty for all identifiers that have no face for a group AND is empty for the actual section under Plan Variance.
Is there a way to create a cross table that would show the variance for the Plan Identifier ONLY? Can I stop the cross table from calculating the plan variance on the actual segment? Or is there a way to have the actual field hidden in the plan variance section of the final visualization?
Thanks for any help/advice you can provide!

Tableau - Comparing one against an average of many on same worksheet

I'm looking to compare a single Fortune 500 company's revenues (selected by the end user from a list of all Fortune 500 companies) to an average revenue for all Fortune 500 companies over time. I would like the averages to show up as bars and the single company revenues to show as a line graph (both on the same chart).
I understand how to set two different chart types on the same view. What I don't understand is how to write the calculations and parameters to give the end user the functionality of choosing a single company and comparing it against all others.
Any suggestions on how to do this? Happy to clarify further if needed.
Thank you in advance!
I don't have Tableau right now to test, but I believe that kind of chart can be achieved using 2 measures.
Well, you need to create the measures then. The average of all is pretty straight forward, it's AVG(Revenue).
The single company revenue can be retrieved using parameters. Create a parameter like [Company chosen], and put the list of all Fortune 500 (you can load from field, which helps a lot).
Then create a calculated field [Company revenue]:
IF [Company] = [Company chosen]
THEN [Revenue]
END
And just use the sum or avg of this measure.
Put both the measures on the worksheet and set the right chart
I am using the superstore data that ships with Tableau.
You can create an LOD calculation to calculate the average:
SUM({FIXED [Order Date (Months)] : SUM([Sales])}) / SUM( {COUNTD([Sub-Category])})
This is calculating the total sales at each month and summing the sales and then dividing that by the number of points for each month (thereby giving you an average of sales per month).
FYI, I submitted this question to Tableau. They replied with a workbook using the Superstore data with the following instructions:
Add Year(Order Date) to the column.
Add Sales to the row.
Create a parameter called Select Country with the following settings:
Name: Select Country
Data Type: String
Allowable Values: List
Add from field: Country/Region
Select OK.
After creating the parameter, Right Click on the parameter in the data pane and select Show Parameter Control.
Create a calculated field Country Sale called with the following formula:
IF [Country / Region] = [Select Country] THEN [Sales] END
Add Country Sale to the Rows Shelf.
Go to Sum(Country Sale) tab on the Marks Pane and select Line from the drop down.
Right Click on the Country Sales axis and select Dual Axis.
Right Click on the Country Sales axis and select Synchronize Axis.

Aggregating ratios in Crystal Reports pivot table

Simple pivot table:
In this case, I'm pulling back 5 fields from the database:
Category
Year
Quarter
Numerator
Divisor
2 unfortunate facts. First, the year/quarters drift to provide a rolling 8-quarter view. Consequently, there will usually be 1 full year and 2 partials with their respective quarters. Second, the measures to be displayed are ratios of numerator to divisor. Naturally, Crystal is assuming that I want to divide everything and then total it, which is not correct.
How do you get the pivot table totals to calculate correctly as SUM({Numerator})/SUM({Denominator})? Since there are multiple levels in play, the Sum({Numerator}, {Attribute})/Sum({Denominator}, {Attribute}) doesn't seem to work or I'm missing an extra element to it.
This crosstab is intended to replace a report that individually calculated every cell, and is not viable for long-term maintenance. If the totals can't be corrected, we'll have to revert back to that format.
Once you create a cross tab... you can insert saperate column or row inside the existing column using the option embeeded summary
Right click---> Embeeded Summary ---> insert embeeded summary
This will insert a row as Edit This Formula.
Now on the newly created cell
Right click---> Embeeded Summary ---> Edit Calculation formula
This will open a window there write your division formula.