How can we Implement Pivot Grid in Extjs 4.
At this moment, the PivotGrid will probably be officially slated for 4.1. It may or may not be included in the compatibility layer, that's not yet certain. Basically I would not count on jumping on 4.0 on day one if pivot grid is critical to your app. This may change, but I'm just going off of the status as of today.
You can find pivot grid examples here: Pivot Grid Examples (Ext 3.3)
I have implemented a PivotGrid for Extjs 4.1.x.
You can see the pivot grid examples here and checkout the documentation.
Here are some core features:
Multiple aggregators with different aggregate functions
Sort and name the dimension axis
Sort columns
Lock left axis columns or not
Group aggregated rows/cols and expand or collapse the groups
Summarize group rows and group columns
Grand total for rows and columns
Supported aggregation functions: sum, avg, min, max, count and group% (calculates the percentage from the group total)
drill down plugin
Related
I am having a problem trying to understand how to accomplish this. I want to use one set of slicers in my Excel spreadsheet to drill down to specific information. The problem is that I have duplicated Model names under the "Intel" worksheet. The reason is that Model Name could have one or two controllers. I have created all the queries, Power Pivots, and relationships. The link to the file is available here (this is all public data) if someone is willing to take a look and provide the guideline.
PROBLEM:
Due to Model Name's duplication under the "intel" worksheet, I have created a "DUP" column to identify duplicates in my data with the "X." I thought if I made a column “RELATED -Devide by 2” in the Power Pivot “Intel” with the formula =IF([DUP]="X," [RELATED - 12 Month Volume]/2, [RELATED - 12 Month Volume])", I would be able to show correct 12Month Volume based on Volume worksheet. This is partially true. I came to an understanding that I need to use both, “RELATED - 12 Month Volume” and “RELATED -Devide by 2” depending on what slicer I am filtering with
If Filtered by FORM Factor or Vendor, I can use RELATED - Divide by 2 (Orange color as shown below).
Now, if I filter above with Controller (like X710-TM4), this is not good. For Controller Filter, I would need to use “RELATED - 12 Month Volume” (Blue color as shown below), which is NOT suitable for above
How do I accomplish this? One set of slicers and be able to drill down and show correct value based on slicer used
enter image description here
Never mind... I figured it out with the CROSSFILTER measure
I would like to create a ranking dimension in one of the Google Data Studio reports.
The data source for the report is [GSC Site] which has information on [Query] (a dimension) and [Average Ranking] (a metric). Trying to use the CASE formula to create a new field called "Ranking" as follows:
CASE
WHEN Average Position >= 0 AND Average Position <= 5 THEN "Top 5"
WHEN Average Position > 5 AND Average Position <= 10 THEN "Top 10"
ELSE "Not Ranked"
END
and get the message "Only numeric literals are allowed if aggregated fields are used in CASE."
As I understand, the field "Average Ranking" is metric with default aggregation "Auto" which prevents me from using the CASE formula.
What would be a possible solution where a new field is created as (i.e. dimension) with default aggregation "None" and populated with the above-ranking distribution values (Top 5, Top 10 and Not Ranked).
I was trying to do the same thing, and the solution I came up with was to blend GSC data with itself. With a blend, you don't have the same auto-aggregation limitation if you add a custom field to a specific table or chart. Here is what the blend looks like:
Then use the blend as the datasource for your chart, and click to add a dimension and select Create Field. My custom field used a case statement almost identical to the one in your question.
I have combined two datas which are price 2013 and volume 2013 to create one pivot table. But how can I find revenue (Volume multiply price) by using pivot table? Please help. Thanks. My column field there included Price from data 1 and volume from data 2.
Switch one of the fields to Σ Values (Volume would seem to be the more sensible) and add a Calculated Field (PivotTable Tools, Options > Tools - Formulas) say Named: Revenue and with Formula: Volume*Price.
However depending upon your version of Excel and your data, you may receive incorrect results (eg in the GT row for revenue).
I have applied Top N filter on 'Purchase_Amount' group so that i can get only Top N values of group but when i am applying Sum on group
=Sum(Fields!Purchase.Value, "Purchase_Amount")
that give me sum of
whole dataset so how can i get sum of filtered group ?
You could try setting the filter on your tablix instead of the group - any sums in the tablix are then subject to that filter.
There are many ways to address this. I would probable move the filter up the data stream, either into the query, or into the Dataset properties.
But some two other methods are described in this MSDN Community thread:
Either creating a fake total row within the group members that contains the =RunningValue(...) function, and set the visibility to only show on the last row; or refer to another page item where you can get just the total of your filtered items.
I have a Matrix style report that I have created and it is currently displaying a total count of items for a series of companies throughout a 12 month period.
[Company1] [Company2] [Etc....] [Total]
[May] (Count)(Percent)
[June]
[Etc]
[Totals]-----------------------------------------------------
The last column total is a subtotal function and automatically adds column counts based on what is in the Column group which in my case gives me a total for both (Count)(Percent)
I only want to show <Count> but I don't find any method of modifying the parameters for the subtotal function.
The only way I found was to add an additional matrix to the right hand side of the main but only display total counts. Kind of hokey and I will refrain from implementing it at this time.
Any suggestions?