"group by" more than two columns achieved, but now how to use it
Hi,
I have a list where I had to group by items to 3 levels(grouping 3 columns). Since it is not possible OOB, I tried
this and now I've achieved this. However, since after I did all these changes, this is no longer a view. And I want it to be available for users to be viewed from the list. How can I do it?
Or is there any other way by which I can group by 3 columns in a List?
Hi ,
Add an empty dataview web part in a page and select columns from datasource and add them to view as "Mutiple Items View"
Click on 'Sort and Group' under Dataview tools . One window will open.
Add your 3 columns . For each column enable 'Show Group Header' under 'Group Properties'.
Then click Ok.
Hope this helps.:))
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Mark As Answer
Similar Messages
-
Spry insert master/detail layout Can't get more than two columns?
Ive been trying to get more than two columns just experimenting with spry data sets and can't with the layout option "insert master/detail layout"
What am I doing wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var ds1 = new Spry.Data.HTMLDataSet("benefitsdata.html", "bizben", {firstRowAsHeaders: false});
</script>
</head>
<body>
<div align="center">
<div class="MasterDetail">
<div spry:region="ds1" class="MasterContainer">
<div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{column0}</div>
</div>
<div spry:detailregion="ds1" class="DetailContainer">
<div class="DetailColumn">{column1}</div>
<div class="DetailColumn">{column2}</div>
<div class="DetailColumn">{column3}</div>
</div>
<br style="clear:both" />
</div>
</div>
</body>
</html>Hello,
in addition to Sudarshan's statement about the discontinued support: In my SPRY library I found this "html_dataset_sample". Maybe it could help you. Here the source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.HTMLDataSet("benefitsdata.html", "bizben", {firstRowAsHeaders: false, useCache: false, tableModeEnabled: false, sortOnLoad: "column0", sortOrderOnLoad: "ascending", rowSelector: "tr.destroyed", dataSelector: "td"});
ds1.setColumnType("column2", "number");
ds1.setColumnType("column3", "number");
ds1.setColumnType("column4", "number");
//-->
</script>
</head>
<body>
<div spry:region="ds1">
<table>
<tr align="center" valign="middle">
<th width="100" spry:sort="column0">Name</th>
<th width="100" spry:sort="column1">Class</th>
<th width="100" spry:sort="column2">Length(m)</th>
<th width="100" spry:sort="column3">Crew Size</th>
<th width="100" spry:sort="column4">Crew 1</th>
</tr>
<tr align="center" valign="middle" spry:repeat="ds1">
<td width="100"><p>{column0.1}{column0.2}{column0.3}</td>
<td width="100">{column1}</td>
<td width="100">{column2}</td>
<td width="100">{column3}</td>
<td width="100">{column4}</td>
</tr>
</table>
</div>
</body>
</html>
Hans-Günter -
Hi,
I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop these pop-up tabs from happening?
ThanksDo a malware check with some malware scanning programs on the Windows computer.<br>
Please scan with all programs because each program detects different malware.<br>
All these programs have free versions.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
Creating hash table with more than two columns
Hello,
I tried to search around and can't quite find what I'm trying to do. I know I can make a hash table like:
$Hash = @{"Texas" = "Hot";"Alaska" = "Cold"}
But I would like to add a third column, so for the sake of an example have the third one say travel by air and the other travel by car. What's the syntax so I can add more columns than two? Also, how can I change the column header names?I think you want something more like this:
New-Object PSObject -property @{
State="Texas"
Temp="Hot"
Travel="Air"
If I set $hash to equal that:
$hash = New-Object PSObject -property @{State="Texas";Temp="Hot";Travel="Air"}
I get this:
Travel Temp State
Air Hot
Texas
If I have a master variable
$hashes = @()
I can set $hash to the new-object of relevant values each pass of a loop:
$hash = New-Object PSObject -property @{State="Alaska";Temp="Cold";Travel="Car"}
And add that to $hashes each time:
$hashes += $hash
and add to the collection:
Travel Temp State
Air Hot
Texas
Car Cold Alaska
As mjolinor suggested, you really need to understand what you want to do. I suspect you are just unfamiliar with the terms, because what you're describing is an array of values, which is better suited to a PSObject rather than to a hash table.
The method for populating a PSObject I describe above is just one variation of one particular method for doing so, there are others that may be more or less suitable for what you want to do.
I hope this post has helped!
Thank you, this is what I was looking for. I've never had to use powershell for this type of task before and did know of this process, and only could find hash tables when I poked around. This will make life much easier! -
Hashtable with more than two columns??
Hi. i'm trying to make a cache in java.
the cache neeeds to have three values per index location, Flag,Tag and Data. Is there anything in java that can have three values??
I know hashtables can have two (one key, and one value), but i need one more, and also i need something that i can access with an index like you do with arrays.
thanksrudeboymcc wrote:
Hi. i'm trying to make a cache in java.
the cache neeeds to have three values per index location, Flag,Tag and Data. Is there anything in java that can have three values??
I know hashtables can have two (one key, and one value), but i need one more, and also i need something that i can access with an index like you do with arrays. An array or List storing objects of your own design that have three instance fields; flag, tag, data. -
Creating form base on a table with more than two columns key
Hi all,
I'trying to develop an application with HTMLDB and I'm facing a problem. I have a table with a primary key of 3 columns and I'm not able to load the data into the html db form.The web flow (generated with the wizard) is a browse page with a link to edit page. In the edit page I deleted the standard process and added a custom one.
This process is PL/SQL anon block and fires onload after header.
The code is the following:
Select ENABLED,PARAMETERS,CHECK_LEVEL into :P16_ENABLED,:P16_PARAMETERS,:P16_CHECK_LEVEL FROM CHECK_SETS_CHECKS
WHERE CHECK_ID=:P16_CHECK_ID AND CHECK_SET_ID=:P16_CHECK_SET_ID AND
EXECUTION_ORDER=:P16_EXECUTION_ORDER
i.e. I select the other values using the table primary key.
When the form renders I don't see the 3 value selected from the query but only the pk ones. I know that the the query is executed because if I change a column name to a non existing one I get an error.
What I'm missing?
Thanks,
GiovanniGiovanni,
Check the source type of the items. They should no longer be source type 'Database Column'.
Scott -
I am using Excel source which uses Microsoft ACE 12.0 OLE DB provider, this only allows the first 255 columns to be imported and not the rest.
I need to export all the columns into the table .
Any pointers to this is greatly appreciatedIf you can use third-party solutions, check the commercial COZYROC Excel adapters:
Excel Connection Plus Manager
Excel Source Plus
Excel Destination Plus
Excel Task
The enhanced components can be used both under 32bit and 64bit modes and doesn't exhibit the 255 columns limitation.
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/ -
How to create SharePoint: Group By on more than 2 columns in a view (SP 2013)
Hi All,
I want to create Group by column on more than 2 columns in a view in SharePoint 213 list.
The group It for CurrentUser,Yearly,Monthly andWeekly.
How can I achieve It?
Thanks in AdvanceHi,
According to your post, my understanding is that you want to group by on more than 2 columns in a view.
You can use Data View Web Part in SharePoint Designer and add some changes & additions.
For more information, you can refer to:
Group by for more than two columns in SharePoint list
SharePoint: Group By on more than 2 columns in a view (SP 2010)
SharePoint 2013 – Add DataView WebPart with SharePoint Designer 2013
Hack: Data View Web Parts in SharePoint 2013
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Group by on more than 2 columns in SharePoint List
Hi,
Is there any way to use Group-by on more than 2 columns? I know there is a way using SPD which I have implemented as well, however it makes the page READ-ONLY.
Any other way? May be using custom code?Try this
http://chanakyajayabalan.wordpress.com/2010/03/15/group-by-for-more-than-two-columns-in-sharepoint-list/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/05fbde73-efdb-40dc-a206-55d56caa21d4/make-group-by-for-3-or-more-then-3-columns-in-sharepoint-2010-list?forum=sharepointdevelopmentprevious
http://techtrainingnotes.blogspot.in/2011/01/sharepoint-group-by-on-more-than-2.html -
More than 1 column in the group by clause
DB Version:10gR2
I understand the basics of GROUP BY clause. I have a question on why we have on more than 1 columns in GROUP BY clause.
In the below example, the course name by itself does not make up a group. A Course name plus its BeginDate make up a group. This is the whole point of having more than 1 columns in the GROUP by clause. Right?
SQL> select r.course, r.begindate , count(r.attendee) as attendees
3 from registrations r
4 group by r.course, r.begindate
5 order by course
6 /
COURSE BEGINDATE ATTENDEES
JAVA 12/13/1999 5
JAVA 2/1/2000 3
OAU 8/10/1999 3
OAU 9/27/2000 1
PLS 9/11/2000 3
SQL 4/12/1999 4
SQL 10/4/1999 3
SQL 12/13/1999 2
XML 2/3/2000 2ExpansiveMind wrote:
Thanks Dmorgan. I am just learning the basics of GROUP BY clause. I have noticed that all Non-aggregate columns in SELECT list have to be present in the GROUP BY clause. I thought it was a "syntactical requirement". Now, i realise that these columns are present in the GROUP BY clause because only a combination of columns make up a group.Well, it is a bit of both actually. It is a syntactic requirement that all non-aggregated columns in the select list must appear in the group by clause. However, the non-aggregated columns in the select list is what defines your group. Your two examples define two different groups, and would answer two different questions.
John -
Find Duplicate Members in more than two Active Directory Groups
hi,
I am trying to find out duplicate members in more than two active directory groups. I am new to powershell and only found one script that gives me only duplicate members in two groups. If any one can helpI have this script that find duplicate members in two groups
$GroupAMembers = ""
$GroupBMembers = ""
$Members_A = ""
$Members_B = ""
$GroupAMembers = Get-ADGroupMember (groupname)
$GroupBMembers = Get-ADGroupMember (groupname)
ForEach ($Members_A in $GroupAMembers){
ForEach ($Members_B in $GroupBMembers){
if ($Members_A.name -eq $Members_B.name)
Write-Host $Members_A.name -
How to create combobox to display more than one columns
I need kind help with the following question. As the combobox includes two pieces--textbox and the combobox list. Then how to create a combo box bean, which is based on table EMP(empno number(6), ename varchar2(40)) records for example, to achieve these features:
1) allow more than one columns to be displayed in its records list--e.g., I need to show these records:
empno (value) ename (label)
103 David M Baker
104 David M Baker
105 Kelly J Volpe
106 Krista F Carpenter
107 Michelle P Silverman
The two 'David M Baker's are different employees, but unfortunately, with the same name.
2) allow combo box list to return the column value 'empno' even though it shows both columns as above. i.e., if user picks the second record above, then the combobox list returns 104 to the textbox in the background, but the 'David M Baker' is displayed on the textbox. Of course the combobox list may return 'David M Baker' if needed when there is only one column in the list as the current standard feature.
3)allow partial match search by typing in some letters. i.e., if user types in the textbox of the combobox letter 'K' or 'k' then the partially matched records
105 Kelly J Volpe
106 Krista F Carpenter
should be automatically displayed in the combobox list, not the whole list as above; then user may double click to choose one of the two or if user continues to type in 'R' or 'r', then the uniquely matched record 'Krista F Carpenter' is displayed in the textbox and the 106 is returned to the textbox.
4) as a bonus if it's doable, allow combobox to return values to different textboxes when its records list has more than one columns.
The reason I need these features is that I am working on the project migrated from Microsoft Access applications to centralized Java version web application. We at beginning promised to users community that Java swing will provide all the GUI user friendly features Microsoft Access has, but now we got stucked--we ate our words and got tons of complains from our users community. This is just the most needed component I posted here. I really hope that Java would add all the default GUI user-friendly features to compete with MS since its Win95 GUI has been accepted as industry standard. And most users are used to it. They claimed that they don't know and don't care what tool you use the newly created application should be more user friendly, not the opposite.
I would be very much appreciated if any one would help me with this item.Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room. -
Custom Breaking of more than three columns - apex 3.0
Trying to create an application that has more than 3 columns for break formatting - have read of a technique thats quite long winded using decodes and grouping sets etc - but seems a bit complex for such a (supposedly) simple query.
Just wondering if anyone else has come across an easy way to do this - including potentially modifying the template etc to allow more than the default values for breaking options?
Thanks!
SamHi,
Excellent example in this thread of how to achieve what you want using the LAG Function: -
Re: PL/SQL code for handling more than 3 levels of breaks.
Cheers,
Mike -
Is there a way to open CSV files with more than 255 columns?
I have a CSV file with more than 255 columns of data. It's a fairly standard export of social media data that shows volume of posts by day for the past year, from which I can analyze the data and publish customized charts. Very easy in Excel but I'm hitting the Numbers limit of 255 columns per table. Is there a way to work around the limitation? Perhaps splitting the CSV in two? The data shows up in the CSV file when I open via TextEdit, so it's there. Just can't access it in Numbers. And it's not very usable/useful for me in TextEdit.
Regards,
TimYou might be better off with Excel. Even if you could find a way to easily split the CSV file into two tables, it would be two tables when you want only one. You said you want to make charts from this data. While a series on a chart can be constructed from data in two different tables, to do so takes a few extra steps for each series on the chart.
For a test to see if you want to proceed, make two small tables with data spanning the tables and make a chart from that data. Make the chart the normal way using the data in the first table then repeat the following steps for each series
Select the series in the chart
Go to Format sidebar
Click in the "Value" box
Add a comma then select the data for this series from the second chart
Press Return
If there is an easier way to do this, maybe someone else will chime in with that info. -
How to specify more than Two Tables in NATURAL JOIN
Hi,
I am using Oracle9i R-2. I want help in writing a Query using Two Tables in SQL*PLUS. I am using ANSI/ISO Standrard for table-joins:
select col1, col2, descr
from tab1 natural join tab2
There are two columns col1 & col2 is common between thse two tables. So, it will join them and query execute well.
How can i use 3rd table tab3 in the same way in Natural Join...? If column col1 & col2 is available in tab3 also.
I tried this way, but it gives me error:
select col1, col2
from tab1 natural join tab2 natural join tab3
Is it possible to specify more than two tables in Natural Join Clause.
Please check that out & help please. Thanks.
Regards,
Kamesh RastogiI do not get an error when I try the same thing on the same version, as demonstrated below. Can you post your table structure and a copy and paste of a run of your actual query with the error that you are receiving?
scott@ORA92> select banner from v$version
2 /
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
scott@ORA92> select * from tab1
2 /
COL1 COL2 COL3
1 1 A
10 10 B
scott@ORA92> select * from tab2
2 /
COL1 COL2 COL4
1 1 C
20 20 D
scott@ORA92> select * from tab3
2 /
COL1 COL2 COL5
1 1 E
30 30 F
scott@ORA92> select col1, col2, col3, col4, col5
2 from tab1 natural join tab2 natural join tab3
3 /
COL1 COL2 COL3 COL4 COL5
1 1 A C E
scott@ORA92>
Maybe you are looking for
-
Replication of Partner Function from CRM 5 to ECC6 Issue
Hi experts Is someone able to assist with pointing me in the correct direction to resolve a partner function replication issue please. We create all entities/BPs in CRM, and replicate them to ECC. We have a custom partner function, ZF, that is held a
-
After updating software yesterday, noticed that sent emails are not showing up in Sent Folder?
-
Configeration part of vendor and customer interest and discount settings
Dear all, Pl let me know the vendor and cuatomers discount and interest setting part. Regards girija
-
Calculate previous Sunday from the current day
Hi Gurus, Can anybody tell what is the name of the function module which caluclates the previous Sunday from the Current system date. or any other idea how to calculate previous sunday from the current system date in Query. Thanks Liza
-
Unhandled win32 error when trying to download to iPod
When I try to sync up my iPod, I get an unhandled win 32 error. It doesn't show the iPod connected in iTunes, but you can see it in My Computer. The error has to do with iPodservice.exe file. I have a Dell computer running Windows XP. I have recently