Assistance with Sawmill Custom Reports

After successfully implementing a pair of S650 WSAs, I am now being asked by our management for various reports.  I have produced a number of custom Sawmill reports which provide most of the information needed, but I am having trouble trying to produce one report.  The requirement is to show a breakdown of sites vsisited for each user, including the time spent, by month, such as in this example:
Name
Date
Website
Time spent
Total per month
Joe Bloggs
1.3.10
www.e-bay.co.uk
1.30 hrs
Joe Bloggs
4.3.10
www.First Choice.co.uk
45 mins
Joe Bloggs
6.3.10.
www.Boats4us.com
25 mins
2.40 hrs
Paul Smith
2.3.10
www.Facebook.com
3.45 hrs
Paul Smith
8.3.10
www.gjw.co.uk
25 mins
Paul Smith
9.3.10
www.fashion.com
4  mins
Paul Smith
12.3.10
www.fashion .com
2 mins
5.15 hrs
I have looked at using a Report Element of "Table with Sub-table" and, while this would work for sessions/hits, it won't show the time fields as these only appear to be available in the "Sessions" report elements.  Any help or advice on how to accomplish this task would be greatly appreicated.
Regards,
Kev

Thanks for the advice Tim, I can now stop spending time trying to generate an impossible report.  I will just have to use the "Time by Server" report and filter it for a single user, although with over 600 people in our company, I will need to pick specific targets rather than produce reports covering everyone!
Kev

Similar Messages

  • Problem with creating customized report layout

    Hello,
    I want to create customized report layout. However, it doesn't work. Can somebody help me?
    I have a page 24 in apex.oracle.com(workspace: houbcm, username: apex, password: apex1). Here is the code in my .xslt.
    <?xml version="1.0"?>
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="content"
    page-width="210mm" page-height="297mm">
    <fo:region-body/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="content">
    <fo:flow flow-name="xsl-region-body">
    <fo:table table-layout="fixed" width="100%">
    <fo:table-body>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Product Name: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_NAME' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Description: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_DESCRIPTION' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Category: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//CATEGORY' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Availability: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_AVAIL' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> List Price: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//LIST_PRICE' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    Thanks,
    Jen

    Hi,
    Thanks for the reply. I have created following report definition.
    SELECT Call_Type.EnterpriseName, Call_Type.Description AS DNIS, Call_Type_Interval.CallTypeID,
    SUM(Call_Type_Interval.ServiceLevelCallsOffered) AS CallsOffered,
    SUM(Call_Type_Interval.CallsAnswered) AS CallsAnswered,
    SUM(Call_Type_Interval.TotalCallsAband) AS TotalCallsAband,
    SUM(Call_Type_Interval.ServiceLevelAband) AS ServiceLevelAband,
    SUM(Call_Type_Interval.ShortCalls) AS ShortCalls,
    SUM(Call_Type_Interval.CallDelayAbandTime) AS CallDelayAbandTime,
    SUM(Call_Type_Interval.AnswerWaitTime) AS AnswerWaitTime,
    SUM(Call_Type_Interval.AnsInterval1) AS AnsInterval1,
    SUM(Call_Type_Interval.AnsInterval2) AS AnsInterval2,
    SUM(Call_Type_Interval.AnsInterval3) AS AnsInterval3,
    SUM(Call_Type_Interval.AnsInterval4) AS AnsInterval4,
    SUM(Call_Type_Interval.AnsInterval5) AS AnsInterval5,
    SUM(Call_Type_Interval.AnsInterval6) AS AnsInterval6,
    SUM(Call_Type_Interval.AnsInterval7) AS AnsInterval7,
    SUM(Call_Type_Interval.AnsInterval8) AS AnsInterval8,
    SUM(Call_Type_Interval.AnsInterval9) AS AnsInterval9,
    SUM(Call_Type_Interval.AnsInterval10) AS AnsInterval10
    FROM        
    Call_Type (nolock),
    Call_Type_Interval (nolock)
    WHERE Call_Type.CallTypeID = Call_Type_Interval.CallTypeID
    AND Call_Type.CallTypeID in (:calltype_list)
    AND Call_Type_Interval.DateTime >= :start_date
    AND Call_Type_Interval.DateTime <= :end_date
    GROUP BY Call_Type.EnterpriseName,
    Call_Type.Description,
    Call_Type_Interval.CallTypeID
    For this definition i wanted to create a customized report which is apparently not possible.

  • Assistance with Powershell custom attribute population

    I'm currently undertaking an exchange 2003 to exchange 2010 migration and as part of this am having to redesign the email address policies. Our legacy recipient policies have worked well by targeting exchange alias but in 2010 this won't work.
    We have a number of exchange domains and in order to update the email addresses for a group of users we have decided to use custom attribute 15 to target these AD groups, however updating this manually for over 2000 users would prove very time consuming.
    Exchange 2010 seems to be geared towards powershell and as it's still early days in my knowledge am looking for assistance.
    Does anyone know a powershell command I can run to update custom attribute 15 for users of a specific security group?
    Many Thanks

    I am no exchange expert but also not sure what you mean by custom attribute 15. Since you want to update "users" in a specific "group" I assume this will be in Active Directory?
    If so, you can use the AD cmdlets to get the job done. On a machine that has AD users and computers installed you can do something like this:
    Import-Module ActiveDirectory
    Get-ADGroupMember -Identity groupName | ForEach-Object{
    Set-ADUser -Identity $_ -Replace @{customeAttributeName = "Replacement"}
    This hasn't been tested as I do not have an environment to test in, and not sure on the custom attribute name or what needs to be replaced with, so you will need to replace groupName with the group in question, customAttributeName with the correct name and
    "Replacement" with what you are replacing.
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

  • Assistance with an online report

    Hey everyone,
    I've developed a reporting application, but can't get the
    display to work. What I want it to do is display the results, based
    off the name (as it does now), but in ONE row. For example,
    currently "Connectivity" displays twice. Once for September, once
    for October. I want it to display once with September and October
    on the same line.
    How can I accomplish that?
    Thanks for any/all assistance you can provide!
    Here's what I've got right now:
    View
    Screenshot here

    Thanks for the responses so far. I'll try to clarify what I'm
    looking for.
    This is what I want it to do:
    Final
    Screenshot
    Note that the subjectIDName is never repeated, but the
    records (count, per month) are on one line.
    If I do a GROUP on the CFOUTPUT, then it displays one
    subjectidname, but does NOT move the second (or any after) to that
    same line.
    Any help is greatly appreciated.
    This is the full code, which displays current screenshot (see
    original post for link):
    <!---this displays everything of subject name for
    month--->
    <CFQUERY NAME="GetSubjects" DATASOURCE="#database#">
    SELECT DISTINCT SubjectIDName
    FROM Customers
    ORDER BY SubjectIDName
    </CFQUERY>
    <CFQUERY NAME="SubjectAndMonth"
    DATASOURCE="#database#">
    SELECT DISTINCT DatePart('m', CFDIncident_Date) AS DisplayMe,
    SubjectIDName, COUNT(*) AS Count2 FROM Customers
    GROUP BY SubjectIDName, DatePart('m', CFDIncident_Date)
    ORDER BY SubjectIDName, DatePart('m', CFDIncident_Date)
    </CFQUERY>
    <table width="75%" border="0" cellpadding="0"
    cellspacing="0">
    <TR>
    <TD
    align="left"><strong>NAME</strong></TD>
    <TD
    align="center"><strong>JAN</strong></TD>
    <TD
    align="center"><strong>FEB</strong></TD>
    <TD
    align="center"><strong>MAR</strong></TD>
    <TD
    align="center"><strong>APR</strong></TD>
    <TD
    align="center"><strong>MAY</strong></TD>
    <TD
    align="center"><strong>JUN</strong></TD>
    <TD
    align="center"><strong>JUL</strong></TD>
    <TD
    align="center"><strong>AUG</strong></TD>
    <TD
    align="center"><strong>SEP</strong></TD>
    <TD
    align="center"><strong>OCT</strong></TD>
    <TD
    align="center"><strong>NOV</strong></TD>
    <TD
    align="center"><strong>DEC</strong></TD>
    </tr>
    <CFOUTPUT QUERY="SubjectAndMonth">
    <TR bgcolor="###Iif(((CurrentRow MOD 2) is
    0),de('cccccc'),de('ffffff'))#">
    <TD align="center">#SubjectIDName#</TD>
    <CFLOOP INDEX="TestLoop" FROM="1" TO="12" STEP="1">
    <CFIF #TestLoop# IS #DisplayMe#>
    <TD align="center">#Count2#</TD>
    <CFELSE>
    <TD> </TD>
    </CFIF>
    </CFLOOP>
    </TR>
    </CFOUTPUT>
    </table>

  • Assist with my SQL Reporting Script

    I have started writing a HTML SQL reporting script based off of Jeffrey Hicks tutorial
    Here is my entire script:
    ###################START SCRIPT#####################################
    #requires -version 3.0
    #Create a SQL Server report of said SQL environment
    [cmdletbinding()]
    Param(
    [string]$computername=$env:computername,
    [string]$path="$env:temp\sqlrpt.htm"
    #define an empty array to hold all of the HTML fragments
    #the fragments will break apart each HTML section in the final output so that you can out whatever information you like
    $fragments=@()
    #save current location so I can set it back after importing SQL module
    $curr = get-location
    #import the SQL module
    Import-Module SQLPS -DisableNameChecking
    #change the location back
    set-location $curr
    #get uptime
    Write-Verbose "Getting SQL Server uptime"
    $starttime = Invoke-Sqlcmd -Query 'SELECT sqlserver_start_time AS StartTime FROM sys.dm_os_sys_info' -ServerInstance $computername -database master
    $version = Invoke-Sqlcmd "Select @@version AS Version"
    #create an object
    $uptime = New-Object -TypeName PSObject -Property @{
     StartTime = $starttime.Item(0)
     Uptime = (Get-Date)-$starttime.Item(0)
     Version = $version.Item(0).replace("`n","|")
    $tmp = $uptime | ConvertTo-HTML -fragment -AS List
    #replace "|" place holder with <br>"
    $fragments += $tmp.replace("|","<br>")
    #SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>SQL Host Information Details</h3>"
    $fragments += $smo | select ComputerNamePhysicalNetBios,Name, Processors, ProcessorUsage, PhysicalMemory, PhysicalMemoryUsageInKB, MasterDBPath, BackupDirectory | ConvertTo-HTML -Fragment
    #Get Status of all SQL related Services
    Write-Verbose "Querying services"
    $services = Get-Service -DisplayName *SQL* -ComputerName $computername |
    Select Name,Displayname,Status
    $fragments += "<h3>SQL Services</h3>"
    $fragments += $services | ConvertTo-HTML -Fragment
    #get databases
    #path to databases
    Write-Verbose "Querying datases"
    $dbpath = "SQLServer:\SQL\Localhost\default\databases"
    $fragments += "<h3>Database Utilization</h3>"
    $fragments += dir $dbpath | Select Name,Size,DataSpaceUsage,SpaceAvailable,
    @{Name="PercentFree";Expression={ [math]::Round((($_.SpaceAvailable/1kb)/$_.size)*100,2) }} |
    Sort PercentFree | ConvertTo-HTML -fragment
    #get database backup information
    # Create an SMO connection to the instance
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $dbbackups = $smo.Databases
    $fragments += "<h3>Last Database Backup Information</h3>"
    $fragments += $dbbackups | select Name,LastBackupDate, LastLogBackupDate | ConvertTo-HTML -Fragment
    #Login & Service Account Information#SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>Login & Service Account Information</h3>"
    $fragments += $smo | select ServiceAccount, Logins | ConvertTo-HTML -Fragment
    #volume usage
    Write-Verbose "Querying system volumes"
    $data = Get-CimInstance win32_volume -filter "drivetype=3" -ComputerName $computername
    $drives = foreach ($item in $data) {
        $prophash = [ordered]@{
        Drive = $item.DriveLetter
        Volume = $item.DeviceID
        Compressed = $item.Compressed
        SizeGB = $item.capacity/1GB -as [int]
        FreeGB = "{0:N4}" -f ($item.Freespace/1GB )
        PercentFree = [math]::Round((($item.Freespace/$item.capacity) * 100),2)
        #create a new object from the property hash
        New-Object PSObject -Property $prophash
    [xml]$html = $drives | ConvertTo-Html -fragment
    #check each row, skipping the TH header row
    for ($i=1;$i -le $html.table.tr.count-1;$i++) {
      $class = $html.CreateAttribute("class")
      #check the value of the last column and assign a class to the row
      if (($html.table.tr[$i].td[-1] -as [int]) -le 25) {                                         
        $class.value = "danger" 
        $html.table.tr[$i].Attributes.Append($class) | Out-Null
      elseif (($html.table.tr[$i].td[-1] -as [int]) -le 35) {                                              
        $class.value = "warn"   
        $html.table.tr[$i].Attributes.Append($class) | Out-Null
    $fragments += "<h3>Volume Utilization</h3>"
    $fragments += $html.innerxml
    #define the HTML style
    Write-Verbose "preparing report"
    $imagefile = "c:\scripts\db.png"
    $ImageBits = [Convert]::ToBase64String((Get-Content $imagefile -Encoding Byte))
    $ImageHTML = "<img src=data:image/png;base64,$($ImageBits) alt='db utilization'/>"
    $head = @"
    <style>
    body { background-color:#FAFAFA;
           font-family:Arial;
           font-size:12pt; }
    td, th { border:1px solid black;
             border-collapse:collapse; }
    th { color:white;
         background-color:black; }
    table, tr, td, th { padding: 2px; margin: 0px }
    tr:nth-child(odd) {background-color: lightgray}
    table { margin-left:50px; }
    img
    float:left;
    margin: 0px 25px;
    .danger {background-color: red}
    .warn {background-color: yellow}
    </style>
    $imagehtml
    <br><br><br>
    <H2>SQL Server Report: $Computername</H2>
    <br>
    #create the HTML document
    ConvertTo-HTML -Head $head -Body $fragments -PostContent "<i>report generated: $(Get-Date)</i>" |
    Out-File -FilePath $path -Encoding ascii
    Write-Verbose "Opening report"
    Invoke-Item $path
    ######################END SCRIPT##################################
    I have 2 questions for help in regards to the above script:
    1)  For the Login and Service Account portion I can't get my output to show up properly.  Here is the snip from the script:
    #Login & Service Account Information#SQL Host Information
    $smo = new-object ('Microsoft.SqlServer.Management.Smo.Server') $computername
    $fragments += "<h3>Login & Service Account Information</h3>"
    $fragments += $smo | select ServiceAccount, Logins | ConvertTo-HTML -Fragment
    Here is how the output shows for this portion:
    ServiceAccount
    Logins
    domain\svcAcct
                 Microsoft.SqlServer.Management.Smo.LoginCollection
    I would like top have the login information show in the above table of the all the different logins.  When I run the script without HTML for that portion and just output to console it shows the login info as I would expect.
    2)  The 2nd question is, how do I add a variable to the bottom of the script to email the report to said email address.  This is probably simple but can't get my head wrapped around this part.
    Thanks all in advance!

    Thanks AnnaWY, that resolved the portion on how to email the report.  I was also able to utilize the following code which does the same thing as well:
    #Send an email with the contents of the report
    $MailBody= Get-Content $path
    $MailSubject= "SQL Server Report"
    $SmtpClient = New-Object system.net.mail.smtpClient
    $SmtpClient.host = "smtp.server.com"
    $MailMessage = New-Object system.net.mail.mailmessage
    $MailMessage.from = "[email protected]"
    $MailMessage.To.add("[email protected]")
    $MailMessage.Subject = $MailSubject
    $MailMessage.IsBodyHtml = 1
    $MailMessage.Body = $MailBody
    $SmtpClient.Send($MailMessage)
    I still have not been able to resolve the portion regarding the login/service account information not showing up in the table correctly.  For the time being I have removed it from the environment report and instead included it as a script of its own
    in our Security Auditing process.

  • Current Header Rows from FBL5N in custom report

    Hi,
    If you go to transaction FBL5N into settings -> Layout -> Current Header Rows, you're able to change the header outputs at the top of each ALV List. I'm trying to do the same with my custom report, but when I go to settings -> Layout, I dont have the option to choose current header rows. How can I add this feature to my custom program?
    Thanks in advance,

    Hai JJ,
    Here u can full the data in Vendor master record in Payment Transaction u can fill the data like Cityn, Bank key and Bank account, and one payment transaction in code code data here also u can maintain House Bank then execute the FBL1N definetly system showing the House bank.
    Regards
    Madhu I

  • Custom Report Template Issue

    Hi,
    I have a Custom Report Template, it is a Named Column(Row) Report that I have created. It seems I can get the look and feel I want on a per row basis. But when I try and convert it to be able to loop through for a specific type, like a break on the first column, it gets all messed up. I was wondering if someone might be able to shed some light for me on this I have tried everything
    Here is the row template
    <table width="100%"  border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
       <tr  class="Tabledetail">
          <td class="SectionHeading" width="100%" bgcolor="#336699" valign="middle">
             <img src="spacer.gif" width="1" height="1">  <b>#1#</b> 
          </td>
       </tr>
       <tr class="Tabledetail">
          <td>
             <table width="100%"  border="0" cellspacing="1" cellpadding="1" bgcolor=white>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td class=formlabel>
                      #2#
                   </td>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>Evaluation Trips</b> 
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>All Other Trips</b> 
                   </td>
                </tr>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #3#
                   </td>
                   <td  align=right class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                </tr>
                <tr class="Tabledetail" width=50%>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #8#
                   </td>
                   <td class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right>
                      #9#
                   </td>
                   <td  align=right>
                      #10#
                   </td>
                   <td align=right >
                      #11#
                   </td>
                   <td align=right >
                      #12#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right >
                      #13#
                   </td>
                   <td align=right >
                      #14#
                   </td>
                   <td align=right >
                      #15#
                   </td>
                   <td align=right >
                      #16#
                   </td>
                </tr>
             </table>
          </td>
       </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="spacer.gif" width="1" height="10"> </td>
    </tr>
    <tr>
    <td>Here is the before rows
    <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">Here is the after rows
            </table>
        </td>
      </tr>
      #PAGINATION#
    </table>But when I try and pull the upper level html tables out of the row template the format goes to heck. Anyone have any ideas?
    Thanks in advance!

    goochable wrote:
    Thanks for the input! Yeah it is based on a query from a collection as all this data is summations that i am pre-populating.
    Yes this html is probably from 1998 or 1999 I think they told me actually lol
    So there is no way to accomplish what I am trying to do then?
    There is no way I could use a break on first column and modify the header info to get the same sort of look and feel?Still not really clear what you are trying to accomplish, and in my view there are so many problems with the "look and feel" that it's not worth perpetuating.
    Making a lot of assumptions, I've come up with the kind of HTML structure I'd use when marking up this kind of data. I added a page 2 to your example on apex.oracle.com, showing a basic presentation of this structure alongside the original for comparison, and another styled using the default theme L&F.
    <li>Given the requirement to use multi-level headers (and because I prefer to have total control over the HTML), I stayed with a custom report template rather than trying to utilise column breaking with a generic column report template. This also permits use of more advanced table structures than can be supported by standard templates, such as s<tt>colgroup</tt>s to organize the table columns as well as the rows:
    Before Rows
      <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table class="fish">
            <caption>Some fishy summaries</caption>
            <colgroup span="1"></colgroup>
            <colgroup span="4" class="evaluation-trips" align="right"></colgroup>
            <colgroup span="4" class="other-trips" align="right"></colgroup>
    After Rows
          </table>
        </td>
      </tr>
      #PAGINATION#
    </table><li>Rather than separate tables, the report is contained in one HTML table, utilizing the <tt>tbody</tt> element to subdivide this into separate row groups to meet the "break on first column" requirement. This is achieved using conditional row templates, with PL/SQL Expressions based on the values of metadata columns added to the query:
    Row Template 1
    Header rows and first data row for each row group. <tt>scope</tt> attributes are added to multi-column headers for improved accessibility:
      <tbody>
        <tr>
          <th colspan="9" scope="rowgroup">#C1#</th>
        </tr>
        <tr>
          <th></th>
          <th colspan="4" scope="colgroup">Evaluation Trips</th>
          <th colspan="4" scope="colgroup">All Other Trips</th>
        </tr>
        <tr>
          <th>#C2#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
        </tr>
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#
    Row Template 1 Expression
    This template is used when the row metadata shows that the current row is in a different row group from the previous row:
    #ROW_GROUP# != #PREVIOUS_ROW_GROUP#
    Row Template 2
    This is the "default" template, used for any subsequent data rows in the row group:
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#Both templates make use of a <tt>#CLOSE_ROW_GROUP#</tt> column value conditionally generated in the query that returns a <tt>&lt;/tbody&gt;</tt> tag if the current row is the last data row in the row group. (Mixing logic and structure in this way is not good practice, but APEX only allows up to 4 conditional row templates, which is completely insufficient for any moderately complex structure.)
    <li>Several metadata columns (incorporating heavy use of analytic functions) are added to the report query for use in the report template or CSS presentation:
    with fish as (
          select
                    c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16
                      Generate a fixed order for separate report sections/row groups.
                      (This is a guess as the actual requirement is not specified.)
                  , case c1
                      when 'OTC Summary' then 1
                      when 'Retained Catch Summary' then 2
                      when 'Discarded Catch Summary' then 3
                      when 'Discarded Species Composition Summary' then 4
                      when 'Retained Species Composition Summary' then 5
                      when 'Priority Species Biospecimen Summary - Discarded Catch' then 6
                      when 'Other Species Biospecimen Summary - Discarded Catch' then 7
                      when 'Dissection Summary - Discarded Catch' then 8
                    end row_group
                      Calculate row number within row group.
                      Copes with row order in some row groups being determined
                      numerically, while others used standard character semantics.
                  , row_number()
                      over (
                        partition by  c1
                        order by      to_number(regexp_replace(c8, '[^[:digit:]]')) nulls last
                                    , c8) group_rn
                      Calculate number of rows in row group.
                  , count(*)
                      over (
                        partition by c1) group_rows
          from
                  test)
    select
              c1
                Not clear on meaning of "Weight"/"Method" values: assumed this is
                column heading equivalent to "Species".
                Combine both source DB columns into one for HTML heading, dealing
                with various null/space/blank issues...
            , nullif(c2 || ' ', '  ') || c3 c2
            , ' ' c3
            , c4
            , c5
            , c6
            , c7
            , c8
            , c9
            , c10
            , c11
            , c12
            , c13
            , c14
            , c15
            , c16
            , row_group
                Get the rowgroup for the previous row
            , lag(row_group, 1, 0)
                over (
                  order by row_group) previous_row_group
            , group_rn
            , group_rows
                Determine odd/even row number: used for standard or alternate style.
            , mod(group_rn, 2) alt
                Generate a closing element if the row is the last row in the
                row group.
            , case
                when group_rn = group_rows
                then
                  '</tbody>'
                else
              end close_row_group
    from
              fish
    order by
               row_group
             , group_rnThis makes major assumptions about the sort order(s) and break(s) required in the report.
    <li>Finally, the visual presentation is applied using CSS rather than (mainly deprecated) HTML attributes, via an embedded style sheet in the page HTML Header:
    <style type="text/css">
    .fish {
      empty-cells: show;
      border-collapse: collapse;
    .fish tbody tr:first-child th {
      border-top: 1px solid #fff;
      font-weight: bold;
    .fish th,
    .fish td {
      padding: 3px 6px;
    .fish th {
      border-bottom: 1px solid #fff;
      border-left: 1px solid #fff;
      background-color: #275096;
      color: #fff;
      font-weight: 300;
      text-align: left;
    .fish td {
      text-align: right;
      .fish tr.\30  td {
        background-color: #dde;
      .fish td:first-child {
        text-align: left;
    </style>The default theme L&F report adds vertical borders to separate columns and column groups (latter may not be fully effective on IE: I'm not wasting my time on quirks mode fixes for that).
    The resulting report uses 60% less vertical space, and 87% less HTML code[1] than the original. Usability and accessibility are improved by eliminating nested tables and useless table cells and shim images, increasing the contrast between text and background colours, and using alternating row backgrounds for better visual tracking.
    [1] Including whitespace, but neither template is compressed in any way: both are in fully readale format including normal whitespace indentation.

  • Custom Report times out

    Greetings,
    We are experiencing a very peculiar problem with a custom report where it times out after the stipulated 30 minutes (rdisp/max_wprun_time = 30 minutes). What is unusual is that, the same report, with the same selection criteria, finishes within 20 minutes at some times or even in a lesser duration. I have been unable to establish any correlation between when it runs and when it times out.
    Some facts.
    1. There are enough free dialog wp, memory and CPU utilization is approximately 50% (or even less) when it does/doesn't finish. By this, I mean that the system is by no means under any kind of stress.
    2. Executing the report in the background is an option, but for what the report is meant for, it is necessary to run it in the foreground.
    3. I created indices on the tables it reads, which I see being used in the Explain Plan. But using the same indices, the report doesn't finish at other times.
    4. The table does an inner join of 2 huge tables; EKPO and EKKO and also an inner join on EBELN and EKET
    5. I have checked for locks in the system, but with locks on EKPO and EKKO, the report is still able to finish at some times.
    I can probably increase the time limit further, but that is the last thing I would like to do. What is perplexing is that the report finishes within the stipulated time at times. Am I missing something here ? Any help would be greatly appreciated.
    Thanks,
    Kunal

    Just a followup before I close this thread.
    The real issue here is that the report reads table A073 which has grown up to around 1 Gb. With this table being defined as fully buffered, buffering is not possible (or results in an error rather) and large amounts of time is spent reading it. In addition to this, the the program does an inner join of this table on MARA (another huge table).
    All the above information was found out courtesy ST05.
    Thank you for the inputs as always.
    Kunal

  • Custom Report Item CustomData evaluation problem in a subreport loop

    Came across a strange problem with the custom report item CustomData property evaluation when using a sub report loop.
    I have a master report, which contains a sub report component within a List. The List is bound to a dataset from which a numeric value is passed on to a sub report's report parameter, and from there further down as an argument to a sub report dataset. The sub
    report contains our custom image CRI, which is bound to the said dataset. This dataset outputs a base64 encoded image data value, which the CRI then renders.
    Now the problem is that only the first sub report iteration gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration. So essentially the loop just outputs the same first sub report over and over again.
    However, if I make the List component do a page break after each sub report, then all the sub reports start getting rendered correctly. 
    Here's how the CustomData gets initialized in the CRI designer class:
    this.CustomData = new CustomData();
    this.CustomData.DataRowHierarchy = newDataHierarchy();
    this.CustomData.DataRowHierarchy.DataMembers.Add(newDataMember());
    this.CustomData.DataRowHierarchy.DataMembers[0].Group = newGroup();
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.Name = this.Name + "_SingleGrouping";
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.GroupExpressions.Add(new ReportExpression());
    this.CustomData.DataColumnHierarchy = new DataHierarchy();
    this.CustomData.DataColumnHierarchy.DataMembers.Add(new DataMember());
    DataRow row = new DataRow();
    DataValue value = new DataValue();
    value.Name = "Base64";
    value.Value = ""; 
    DataCell cell = new DataCell();
    cell.Add(value);
    row.Add(cell);
    this.CustomData.DataRows.Add(row);
    The CRI also exposes the CustomData's DataSetName and a Base64 property.
    Has anyone else seen something like this happen? Not sure if this could be an issue with our CustomData configuration/usage, the API documentation is pretty much non-existent as usual. Seems more like bug to
    me.
    Leo Wartinen, Predisys Inc.

    Hi WarLe,
    If I understand correctly, you are using a list control to contain the subreport in the master report. The dataset of the list contains the field which is passed as the parameter values of the subreport. When you render the report, only the first subreport
    gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration, right?
    If in this scenario, it seems that you haven’t add a group in the list. We can try to add a group grouped on the field which is passed as the parameter values of the subreport to check the issue again. Besides, could you mind post the sample data for the
    dataset of the list and tell us the settings for the list control? Then we can make further analysis.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Custom Report for Asset Intelligence including Collection selection

    Dear all,
    I'm struggling with an custom report for doing the following thing.
    I have labeled software with the custom label 3 in the Asset Intelligence.
    I like to create a Report where i can Choose my Collection and then the Label that should be displayed.
    Similar to the Report: Software 10A - Software titles with specific multiple custom labels defined.
    But i like to choose more than one Label 3.
    Does anybody have something like that? Its really complicated for me to edit that report.
    Thanks & Regards
    Flat

    Hi,
    You could post this question in SQL forum to see if someone there can edit the report.
    The following document could help you to custom the report.
    Getting Started with Report Builder
    https://msdn.microsoft.com/en-us/library/dd220460.aspx
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Publish Customer Report in the page Overview of MSS

    Hi,
    Good Night.
    I want publish a customer report in the page of Overview of MSS.
    Can someone help me, what I should do?
    Regards

    Hi,
    Do you have the homepafe framework created for MSS too?
    If yes, you can make a service with the Customer report from img and then add it to  the Area (suctom area) and then add the are to the custom MSS area group page.
    If not, then you can create a separate workset with attached page and iview and the iview can point to the customer report.
    Attach this workset to the Custom MSS role.
    In case of further quesries, please let me know.
    Thanks and Regards,
    Pinki

  • Stopping Customer Report doens not work

    Hi All,
    I implemented my customer report, which deletes versions of documents which has the same content (comparing the hashcodes).
    For traversing a folder hierarchy I used the HierarchyWalker-API.
    Now my problem:
    How can I stop my report? - I cannot find a method for stopping within the IReport interface.
    Many thanks for helping me
    Bye Steve

    Hi epexpert,
    thanks for your reply.
    Only two questions:
    (1) What do you mean with "confuse the reporting framework"?
    (2) In the SAP Reports you can stop the reports manally, why shouldnt this work with the custom reports?
    Many thanks
    Steve

  • Custom Report with Problems and incidents

    I'm trying to create a custom report of all problems and related incidents.  I can query the problemDimvw table, but I need some assistance linking to the incidents.  Anyone have a query or point me in a direction to join the necessary tables?
     What I'm trying to get is Problem ID, Title, Description, and Incident IDs linked to it.  Thanks.
    Chris

    I know PowerShell can help you with the Get-SCSMRelatedObject command but you would have to write a small script to get that to work en mass.
    http://smlets.codeplex.com/

  • Custom report templates with the help of BI Publisher.

    Hi All,
    I have created custom report templates with the help of BI Publisher it is working as we excepted.
    refered : https://blogs.oracle.com/kyle/tags/reports
    But our requirement want to change the color of heading and include filters in output report, It is possible, if yes pls share you comments?
    Best Regards
    Pradeep

    how silly of me!
    just restarting the tomcat sorted the problem!!!

  • Custom Report Layout with mutliple child tables

    I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
    for example:
    Table hierarchy:
    Jobs table
    Job Stops
    Job Days
    Job Day Service Providers
    Job Day Crew
    Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
    Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
    JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
    JobDayProviders.row3
    Thanks,
    Linda
    First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

Maybe you are looking for

  • How can we setup a prefix namespace for a custom library in FB 4.7

    Using 3.6, we are creating a custom library. We need to be able to use a prefix such as "MyLib" when adding library components to an MXML file in an application. Right now we get <ns:MyButton. . .> and we need <myLib:MyMyButton . . .>. Any other libr

  • HP8540w (540M) ram upgrade, won't boot past bios

    I have recently acquired new RAM. First it was 2 x 8 gb but I found out later this is not supported by my specific model. But now I switched it with 2 x 4gb PC12800 CL11, from a newer hp model and it still won't boot past the BIOS, which has been upg

  • Question on Filter Table button

    Hi, I have a matrix with a column 'Price'. At the bottom of the form i have a button with a edit text, and when i press the button, i read every row of the matrix and i make the total of the column 'Price' and i put this total in the Edit Text. If i

  • US MBP adapter can be used in UK ?

    I bought my MBP here in US. I will be visiting UK next week. Can I use the Power Adapter there ? I believe they have a different type of plugs.

  • CAN'T INSTALL Flash Player on iMac running Safari - can you help?

    I have run the install programme for the latest version many times over the past 4 weeks or so - every time it seems to complete the download satisfactorally but then I still get error messages accessing BBC iPlayer and the Adobe "detector" tells me