How to display a row in Cross Tab when the count summary is zero

My customer wants a row for all possible data, even when the count is zero.  How can I get a row to display when there is no data?  Using an example:  Display status for incidents - possible five statuses, but selection only results in four statuses because no incident were cancelled.  Customer wants all five statuses to display in cross tab with cancelled showing '0' (zero))
Open
WIP
Cancelled
Pending
Closed

This worked for the last guy who had a similar issue.
Take a look at what it's doing. You should be able to use the same principal to meet your needs...
I'm assuming that you'll only need to show 4 weeks at a time on your report.
The easiest way to do it is by creating 8 separate formula fields:
W1A
W1RT
W2A
W2RT
... and so on
I don't know how your data is coming across but the formula should go something loke this:
W1A... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W1RT... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W2A... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
W2RT... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
... and so on
If I got you weekly criteria wrong, sorry. It's just a best guess.
Anyway you should be able get the idea. It gives you the effect of a crosstab without the headaches of a crosstab.
Hope this works for you,
Jason
Edited by: Jason Long on Jun 28, 2008 3:19 AM

Similar Messages

  • How to Suppres a Row in Cross Tab?

    Hello All
    I have a cross tab where I wish only to show the result of the calculation.
    The cross tab is like this
    Header............Period
    Sales..............X
    Costs..............Y
    Cost/Sales.......Y/X
    What I want to show is the result only Cost/Sales
    Header............Period
    Cost/Sales.......Y/X
    Hiding the Cells Sales and Costs but still using their results in the calculation.
    Is there anyway to do this? As at present I can only supress Sales and Costs and minimize their size but this looks silly as you get a result like
    Header............Period
    Cost/Sales.......Y/X
    With Space in between.
    Any help would be appreciated.
    Thanks
    Phillip

    cross tab functionality is different than a regular report, you cant always do what you want surpression wise...
    if you just want to show a summary i would create a standard report
    and surpress what you dont want and just show your summaries.

  • How to display four rows in one table and the rest in another table?

    Hello everybody,
    I am trying to solve a problem that I cannot find any direct answers to.  In essence the problem goes like this:
    1) I want to populate two tables from xml data.
    2) The first table should only diplay the first four rows of data.
    3) The second table should display the rest of the rows (starting from row 5).
    I can create the first table so that it only shows up to the first four rows.
    I cannot find a way to set up the second table so that it shows the rest of the rows starting at row 5.
    To illustrate the problem I have attached my livecycle template file with the two table definitions and the corresponding xml data.  If you put these two files in the same directory and open the pdf file using LiveCycle designer you should see what I mean. (The table with column heading 'Item List 2' shows all of the records in the xml file when I only want it to show records 5 and 6)
    Some other niggling issue I have come up against is the data displays differently when I open the pdf file with Adobe Acrobat pro and then use the Forms/manage form data/import data menu to bind that xml file.  ( For some the 'Item List 2' table does not display any data)  Does anybody know why that is occurring?
    Any help on this would be very much appreciated because it will help me get past a significant issue I am running into with a complex form I am trying to build for a client of mine.
    Note:  I am using Adobe Acrobat Pro version 9 and the Adobe Livecycle is version 8.2.1
    Thanks in advance.
    Geoff.

    Hi,
    First solution is you can play with predicates:
    val value = 4
    var items= Ref(xfa.resolveNodes(concat("$record.itemsCollection.item.[itemNumber>""",value,"""]")))
    after that you will have to use addInstance and assign all fields by scripting. It is hard way.
    Second solution you can simply hide unneccessary rows by putting initialise script on item row:
    if (this.index <4){this.presence = "hidden" }
    Hope this helps.
    Paul Butenko

  • Cross tab: Getting the count based on three consecutive dates

    Hi All,
    I have a crosstab which as Ticket_no and Date columns. here is the sample  report data.
            Ticket_no          Date
                  1                1-Jan-2013
                  1                2-Jan-2013
                  1                3-Jan-2013
                  2                1-Jan-2013
                  1                1-Jan-2013
    count of tickets which are raised for consecutive 3 days in a month. Here ticket_No 1 is raised for the first 3 days..so count will be 1. 
    Can any one help me in this case.
    Thanks in advance.
    Regards,
    Krishna

    Krishna, Bring Ticket_No as Dimension from universe,
    In web I, create a variable
    = Count([Ticket_No])

  • Hide a row in CROSS TAB

    HI experts,
    I have a cross tab.
    The rows are automatic from a field, for example month:
    1
    2
    3
    4
    5
    6 ....
    I new to hide , for example the row of AUGUST.
    How can I hide the row in the cross table. I want to hide, I dont want to supress the result.
    Thank you very much
    Edited by: Markus C. on Jul 23, 2010 10:18 AM

    Hi,
    Create a formula that would represent what you want displayed in the rows and base the Row on the formula instead of a specific field.
    Heather

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Hide duplicate rows in Cross Tab report

    where can i find the option to hide duplicate rows in cross tab report..?

    Is it a limitation with crosstab report..?
    Ok, here's the issue i have a crosstab report and its based on a VIEW.
    the data duplicates based on created_by and last_updated_by columns as I'm not using these columns in the report.
    any ideas or workarounds to avoid duplicates....?
    Thanks!

  • How to display alternate row colors in struts form?

    hi,
    I am using struts lib to display data in jsp page.
    <logic:iterate id="result" name="listofPorjetcts" indexId = "i">
    <tr>
    <td ><bean:write name="result" property="projectName"/></td>
    </tr>
    how to display alternaternate row colors ?
    any one can help?

    hey i not sure abt structs, what i did for jsp was using a boolean.
    declare boolean red=true;
    <tr
    <%
    if(red){%>
    class="red" >
    <%
    red=false;
    }else{%>
    class="white">
    <%
    red=true;
    %>
    take note that the class is a predefined css. I think u can use style="background-color:#red "
    You can seearch the web for more info.

  • How to select a row in datagrid by checking the check box in that row

    how to select a row in datagrid by checking the check box in that row.
    Im using <html:checkbox> tag, and also a VO which is in request scope. i wanna display the values in the VO in a row and corresponding to this i want a checkbox..
    Thanx in advance
    Message was edited by: me
    Hemanth@SA
    Message was edited by:
    Hemanth@SA

    Hello,
    I got the solution:
    final int pRow = row;
    final int pCol = column;
    final JTable myTable = mytable;
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    myTable.requestFocusInWindow();
    myTable.changeSelection(pRow, pCol, true, true);

  • How can I visit the performance tab when the target DB is down?

    Hi, All:
    I wonder if it is possible to visit the performance tab when the target DB is down. I thought it should be possible. But whenever I first click the performance tab, I will be asked to enter the user/passwd for the target db(I have set the preferred credentials).
    Furthermore, is it possible to analyze the history sql/performance if the target db is not startup? and how can I do it?
    Thanks in advance

    I have seen other postings by the same ID and my suggestion is that you have a look at the Enterprise Manager Documentation Library. After that, you can ask questions relating to subjects you cannot solve with the documentations.
    http://www.oracle.com/pls/db102/portal.portal_db?selected=21

  • How i can have all my opened tab when upgrade my firefox?

    now i'm still using very old Firefox 3.6.12, and i want to upgrede it. I always using "save and quit" to my all opened tab when quit and not using bookmarks. total about 300+ tab opened.
    i already try upgrade once and all my tab is lost. and because of that i do system restore and reintall with old one again.
    how i can have all my opened tab when upgrade my firefox?
    sorry my english is mess....

    I do not think anything much has changed with the Firefox system restore files and how they are handled so it may be possible to keep these and use them after an upgrade in a new version of Firefox.
    It is '''very important that you backup the Firefox profile''' see
    *[[Back up and restore information in Firefox profiles]]
    If you do that you will be able to use the open tabs again. <br />(May need to reinstall Firefox 3.6 again possibly as an additional browser) <br />
    You must
    * Put that profiles somewhere safe. NOT in the Firefox profile or program path. Your Window's Desktop is ok as a safe place.
    *When needed. Only work with copies of those files. Keep the original files and folders safe.
    Upgrade to the latest Firefox. Because you are going up so far from 3.6 to 27 do this by installing the new Firefox 27. Do not try using each upgrade step from 3.6 to 27.
    Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    WARNING: Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <br />These cannot be recovered unless they have been backed up. <br />(That is why I asked that the profile was backed up FIRST)
    You may be surprised and find Firefox still has the old tabs once it is reinstalled.
    Post back with how you get on. We should be able to get access to the old tabs again.
    In future I suggest you do not try to rely on keeping 300 tabs open all the time without bookmarking them. You will at some stage probably lose some or all of these tabs, or their related states and history.
    Please in future
    * Backup your profile on a regular basis.
    **Once a week means you may only lose one week's open tabs.
    *Bookmark important open tabs.
    ** Bookmarks keep well.
    ** Open tabs do not keep well & may be lost.
    * If possible reduce the number of open tabs you use.

  • How can I create a scrolling effect where when the user scrolls down the image will blur out?

    How can I create a scrolling effect where when the user scrolls down the image will blur out?

    Hi there,
    You can create a scroll motion where the image will fade out on scrolling, you need to use the Opacity tab under Scroll Effects Panel.
    If you particularly need the image to be blur out, then you need to edit that image in any image editing program and make one copy of that image as blurred, then place both images (actual and blurred) on that page and use scroll motion or fade option to replace images.

  • How to get backed up data in iphone3gs when the phone is disabled

    how to get backed up data in iphone3gs when the phone is disabled

    can someone help? this is shaking my trust in icloud backups.
    i am on iOS 6.1.

  • How do you turn your ipod touch on when the screen says connect to itunes?

    How do you turn your ipod touch on when the screen says connect to itunes?

    You connect the iPod to your computer with iTunes and restore via iTunes.  If iTunes does not see the iPod try:
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    or
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    If iTunes asks for the passcode and you can't enter it or if iTunes does not see the iPod, manually placing the iPod in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • How to display recordnumber for each row in cross tab?

    <p>Hi.. </p><p>I am using Crystal Report XI,with the database Microsoft SQL Server. I have 2 questions regarding Cross Tab.</p><p>1. How to limiting record per row and per column in Cross Tab? For example,at one page the report printing 20 records per row and 7 records per columns.</p><p>2. I would like to display recordnumber for each row that printing in Cross tab. How crystal reports can handle this?</p><p>Can anyone can help me out on this? </p><p>Please kindly advise.</p><p>AN </p><p> </p><p> </p>

    <p>Dear Kathryn,</p><p> </p><p>I did used DisplayString as suggested by you. The result work fine until I add more data to this cross tab. I used this formula : </p><p> global numbervar pager;</p><p>recordnumber();</p><p>pager := pager + 1; </p><p>  if pager > 0 then totext(pager - 1,0)     </p><p> </p><p>The result come out in decending order for each row. </p><p>SN    Name </p><p>5       abc<br /></p><p> 4       def</p><p>3        fig<br /></p><p>2        klm<br /></p><p>1      opq</p><p> Is that anything wrong with my formula?<br /> </p><p>Please kindly advise.</p><p>-AN- </p><p> </p><p> </p>

Maybe you are looking for