AG-Grid nested vs. grouped columns - ag-grid

Is it possible to do nested columns instead of grouped? What i mean is that grouped columns are all considered on the same 'level', that is they 2 columns in different groups cannot have the same name. But i need the same column name to appear in multiple groups. We're building a quoting system and the top level would be a product like: the first group is Book Display, 2nd group is Warehouse Racking, etc. Underneath that top level, at the sub-level would be the factories quoting that item. and most of the time it will be 880% the same factories in multiple top-level groups. but if i name a sub column in group 1 the same as a sub-column in group 2, then the values are automatically linked/synchronized. Is there a way to name them the same but have unique values?
Thanks,
Albert

Related

Dynamically render multiple columns based on a drop-down list

I have a table in tableau with say 4 columns (Say Employee ID, Name, Address, Email).
I want to provide the users an option to select single/multiple columns from a drop down list (assume in the drop down list we have columns headers, Customfield1, Customfield2.....,Customfield10) which would be added to the table as a separate columns.
Say for Instance if the user selects CustomField1, CustomField2, CustomField3 from the drop-down list then the table should have in total of 7 columns (4 Emp fields + 3 Custom Fields)
Though I stated a simple requirement, my idea was to extrapolate that to something complex.
I think some version of this could be done, albeit in a hacky way. What you're looking for is 'Dynamic Parameters.' They don't technically officially exist in the product, but can be created with the combination of parameter and calculated field.
Here is a link to a method on such creation.
The idea here would be to re-order columns in a custom manner. Each calculated field would have to have its own logic for which dimension it was to display when a user selected a parameter. (ie: With parameter selection A Column 1 goes to [Name] and Column 2 goes to [Address], and with parameter selection B Column 1 goes to [Address] and Column 2 goes to [Name].) The caveat here is that each potential layout would need to have the same number of columns - there is not a way to add columns dynamically. Consider that each column is represented here with a calculated field.
Good luck on it.

Order a JasperReports report by several columns

Is it possible to create a subgroup in iReport/JasperSoft Studio?
I have a report and I want to group it by name. Then inside that group I want to group it by street.
Each time I group something by name the headers I start a new page reprint the headers. That's the point where I'm at. Now I want to group (inside the name group) by street so that the headers display again each time a new street is found.
You can only use grouping on sorted data. If you need ordering by several columns you will have to pass it that way to Jasper and order the rows yourself either with multiple order columns in your SQL query or with custom Java code.

Merge Row Group Values in SSRs

Is there any ways to merge row group values.suppose Department rowgroup display 3 values Accounts,IT and Finance,both Finance and Account has the same constant values falls within.My problems when run the reports both a divided into different row cells but have same values.want both to combine into 1 row, so matrix table can have only 2 rows
Instead of grouping on Department, i.e.
=Fields!Department.Value,
group on a expression that will return the same value for Finance and Account, e.g.
=IIf(Fields!Department.Value = "Accounts" or Fields!Department.Value = "Finance", "Accounts-Finance", Fields!Department.Value).
In the above example this will give two groups, Accounts-Finance and IT, instead of the three original groups.
Similarly, you could add this expression as a calculated field to the Dataset being used, then group on the calculated field. This is the same approach but will move the logic out of the matrix so it can be used elsewhere in the report.

How to group by two fields in crystal reports

Currently I can group just by one field not by two fields in a cross-tab
You should create a formula field that concatenates the text of these two fields, then use that formula as the field that you group on.
For reports, you just select Insert > Group and add a second group. For crosstabs, just add them to the Rows section.
If you want to have two physically separate statuses ("Temporary" and "Permanent") like in the picture, you'll want two physically separate crosstabs (the second of which will need to be in a subreport).
It would be easier to have one crosstab and just add the Status to the Row section.

CR2008: display cross-tab with no spanning

I'm writing a report that can be exported to excel and using cross tabs. I have two groups A and B, where A can contain multiple subgroups of B.
When I drag A and B into the rows on the left, the outermost group A spans multiple rows depending on how many subgroups of B there are.
Is there a way to have group A repeat itself for every row of B? Like a full table without any of that cell-spanning.
I'm not sure if this will work for you since it means you can't do Totals on the outer group, but here is one possible solution. Create one formula that concatenates both group A and group B values together and use that in your cross tab instead. In this example, I had to use a format string to get the numerical-to-string values to sort correctly.
EDIT: Never mind, I fixed it so you can have the outer group Totals, too. Just leave the outer grouping the way it was, but replace the inner grouping with your new concatenated string (via the formula you just made). You'll have to suppress the outer group header (shown in the screenshot) and format the grid lines to look nicer or overlay a whiteout box, though (not shown in screenshot).