Difference between the two lines in percentage

Hi all

I have a requirement to report which should be grouped by months and in the second field all the records for this month, but I have to add a third field that shows the difference of the TOTAL REGISTRANTS BETWEEN above and below months and also the percentage to increase or decrease the number of records between the months... In fact, I am unable to think even of any solution. There is the report look at an end parameters to select the month for which the report should be displayed.

The report is a bit like that and is grouped by month:

Month | Total records | Percentage and difference
January | 10.
February | 20. 100% 10
March | 30. 50% 10
....
...

But I can't find a way to incorporate data for column 'percentage and difference '.

I appreciate all the suggestions and possible help...
I can provide any other details if necessary if it is not clear...

Thanks and regards,
Solomon

Declare two variables and store the current and previous lines count value.
With this, you can calculate the values of the difference and percentage

Tags: Business Intelligence

Similar Questions

  • Trying to get the 'difference' between the two tracks

    What I'm trying to accomplish is the following: I have an audio track of a voice-over with a music bed located underneath. I also itsself Chamber music, without the voiceover. I want only the share of voice. Is it possible that I can "cancel out" the part of the music or get the difference between the two tracks (just the voice part)? It seems that there should be a way to do it, but for the life of me I can't figure out how do it!

    Any advice?

    There you go...

    http://www.libinst.com/audio%20DiffMaker.htm

    Unfortunately, the above utility has been abandoned by its author.  :-(

    It only works on Windows XP, to start...

    -RFH

  • The difference between the two copies and Clone?

    I make a copy of an existing symbol. On the Edit menu, they have Dulicate and Clone to achieve this. What is the difference between the two? As far as I can tell, if I select the clone, it puts a copy of the object directly on top of the selected object to copy. If I select duplicate it offered the copy is not directly above the original to copy object. What is the difference?

    Well Yes

    Jim Babbage

  • Not sure of the difference between the two registry paths.

    HKEY_LOCAL_MACHINE tools\msconfig\startupreg\

    entries are stored here, program under key and others, how are they different from the entries stored here...
    HKEY_LOCAL_MACHINE tools\startupreg\
    They two have something to do with starting. someone with a little know-how in this field could be a great help.
    What is the difference between these two and what not the keys of each way folder. ?

    If it is any help, I checked my xp, vista, and win7 and they all have this branch of the registry but it is empty of all keys. for example empty:

    HKEY_LOCAL_MACHINE tools\msconfig\startupreg\

    and none of the bones had the other key that you mentioned. I do not use quicktime, so this may be the reason why.

    If I had to guess with analysis and fiddling with the registry since it was invented by microsoft, registry branch I have is 'standard '.

    While the secondary registry branch that I don't have is "non-standard" and probably created by quicktime or other software during installation.

    These registry branches are created because the manufacturers software third differring depend on utilities such as quicktime will be writtened to find the key in the registration or another branch.  If the additional branch and keys are added for extra measure by quicktime or other programs.

    I think that in your particular case, only quicktime can tell you why they need to put their keys in 2 different branches.  but its likely that my logic above explain the reason for being.

    HTH.

  • Calculation and display of difference between the two amounts

    Hi all

    I have the report in which I am posting two SUM fields at levels of summaries.

    <? xdoxslt:sum (LINE_QTY)? >
    and
    <? xdoxslt:sum (INV_DIST_AMT)? >

    I want to display another field bordering these fields that will be the difference between these two.

    Can you please tell me the function to achieve.

    Thank you
    Anish.

    Have you tried this:

    If you want to continue using the scope function, then use

  • What is the difference between the two forums?

    Hi, I am a newbie to the forum and I was wondering what is the difference between the "Razr of Motorola Droid community" and the "community Motorla Razr" I see the links to the right side of the forum support page owners?

    This means that any time you see "Droid" is on the Verizon network in the United States. The software on the Droid Razr is different from what is on the Motorola Razr, so it has a different community so that it can be better supported. I hope this helps.

  • FormCalc - how to calculate the difference between the two fields datetime in hh: mm?

    Hello!

    I am building a form of time sheet in which I need to calculate the difference between the start and end times and present the result.

    I'm trying to do with FormCalc but if it is easier with JS is ok too.

    So that's what I did on the total field, by using the calculate on a NUMERIC field called decimalValue event:

    elapsed = Time2Num (endTime.formattedValue, "HH: mm")-Time2Num (startTime.formattedValue, "HH: mm")

    And then I tried to convert a time field:

    Total = decimalValue.rawValue;

    $.formattedValue = Num2Time (total, "HH: mm")

    Well, it doesn't work, it gives me crazy results in the datetime (total) field. If I type 09:00 and 09:30, the final result is... 22:30. Huh?

    Please, could someone help me understand how this thing works?

    Thanks a lot for the tips!

    Marcos

    Hi Marcos,

    Here are some examples:

    https://Acrobat.com/#d=kCPIgVkd09qrx6h-WRXxbQ

    https://Acrobat.com/#d=EsWqBMBt3sgEXnMSsK5pRA

    Hope that helps,

    Niall

  • I want to know what is the difference between the two packages to choose from for photoshop.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    I am looking to buy photoshop and I see two sets with a price. There is a plan of photography that comes with photoshop cc for 119 a year, and then the other package is a purchase unique app for photoshop cc for 239 per year. They are both the same in photoshop?

    Hi domk15243449,

    Yes, you will get the same version of Photoshop on one of the Plans,

    Please see the following link, it should be useful: helps Photoshop | Differences between Photoshop and creative photography programs Cloud

    Kind regards

    Tanuj

  • Any difference between the two queries

    Hello

    Could someone please help me to see if the following two queries return different results?

    Thank you

    Query A

    SELECT A.BATCH_NO,

    A.BU_CODE,

    SUM (A.AMOUNT) AMOUNT

    FROM TABLE_A HAS

    WHERE A.BU_CODE = 20

    AND G_DATE BETWEEN TO_DATE (JANUARY 31, 2013 ',' MON-DD-YYYY "")

    AND TO_DATE (MARCH 31, 2013 ',' MON-DD-YYYY "")

    --

    AND A.BATCH_NO IN (SELECT BATCH_NO

    TABLE_A B1

    WHERE B1. BATCH_NO = A.BATCH_NO

    AND B1. BU_CODE = A.BU_CODE

    AND B1. ' CODE_P = ' 06-01-01-000.

    AND B1. FROM_FLAG = 'FROM '.

    )

    AND A.BATCH_NO IN (SELECT BATCH_NO

    FROM TABLE_A B

    WHERE B.BATCH_NO = A.BATCH_NO

    AND B.BU_CODE = A.BU_CODE

    AND B1.ORG = '10'

    )

    A.BATCH_NO GROUP,

    A.BU_CODE

    ;

    Query B

    SELECT A.BATCH_NO,

    A.BU_CODE,

    SUM (A.AMOUNT) AMOUNT

    FROM TABLE_A HAS

    WHERE A.BU_CODE = 20

    AND G_DATE BETWEEN TO_DATE (JANUARY 31, 2013 ',' MON-DD-YYYY "")

    AND TO_DATE (MARCH 31, 2013 ',' MON-DD-YYYY "")

    --

    AND A.BATCH_NO IN (SELECT BATCH_NO

    TABLE_A B1

    WHERE B1. BATCH_NO = A.BATCH_NO

    AND B1. BU_CODE = A.BU_CODE

    AND B1. ' CODE_P = ' 06-01-01-000.

    AND B1. FROM_FLAG = 'FROM '.

    AND B1.ORG = '10'

    )

    A.BATCH_NO GROUP,

    A.BU_CODE

    ;

    Hello

    These 2 requests are not the same.  Depending on your data, query A, can select more lines as searching for B.

    I do not have access to your table, so I'll give an example of using the table scott.emp.

    The following 2 queries look like your 2 questions:

    SELECT deptno - query A
    work
    sal
    FROM scott.emp m
    WHERE deptno IN ((in English only)
    SELECT sj.deptno
    FROM scott.emp sj
    WHERE sj.deptno = m.deptno
    AND sj.job = 'CLERK '.
    )
    AND (IN) deptno
    SELECT ss.deptno
    FROM scott.emp ss
    WHERE ss.deptno = m.deptno
    AND ss.sal > 1200
    )
    ;

    SELECT deptno - query B
    work
    sal
    FROM scott.emp m
    WHERE deptno IN ((in English only)
    SELECT s.deptno
    FROM scott.emp s
    WHERE s.deptno = m.deptno
    AND s.job = 'CLERK '.
    AND s.sal > 1200
    )
    ;

    The results of A query are all 14 rows in the table, but query B produces only 3 lines of deptno = 10.

    Query A looking for departments who have committed and the departments that have sal > 1200.  If a line in the Department has job = 'CLERK' (regardless of the sal), and another line was sal > 1200 (regardless of the work), while the Department meets both criteria.

    Query B is looking for federal departments who have committed that sal is over 1200.  Two criteria must be met on the same line.

  • What is the difference between the two publish to ftp host and export as html in Muse?

    What is the difference between FTP publishing and export as HTML in Muse? When I had some problems with missing assets, I exported as HTML and fixed it, but it didn't update on the layout of the phone or completely on the desk until I published on ftp. Assuming that perhaps export just updates the files on the server? Thank you

    Hi Brian,.

    Site as HTML export will export just your Muse site on your desktop without making any changes to your site online, but when you select Publish to FTP, it publishes the changes you did for your website online.

    Export to HTML format is mainly used when you want to use any external client to load your site on the server.

    Refer to this document to better understand: Adobe Muse Help | Download a Site from Muse Adobe on a third-party hosting service

    Kind regards

    Akshay

  • Difference between the two models of the same product?

    Hello

    I am interested in the HP Envy X 2 on the Danish part of the HP Web site, and there are two models of this product.

    However, I have trouble knowing what the difference is, despite their differences in price which is a little less than $100

    Both models can be seen here:

    http://WWW8.HP.com/DK/da/products/laptops/product-detail.html?OID=5349598

    http://WWW8.HP.com/DK/da/products/laptops/product-detail.html?OID=5327631

    I can't seem to find any differences at all... would appreciate some help here.

    I asked a store who got in touch with HP.

    The g000eo comes with NFC where, as the g001eo ot doesn't have NFC.

    This is the only difference of supposidly.

  • How to find the difference between the two timestamp columns

    Dear all,
    Please solve my problem,
    I have Table name of the folder that has the following columns,
    EmpID in the number column, timestamp dat
    who has the following values
    Expand | Select | Wrap | Line numbers
    EmpID dat
    ====== ====
    101 4/9/2012 09:48:54
    101 4/9/2012 09:36:28
    101 4/9/2012 18:16:28
    101 4/10 / 2012 09:33:48
    101 4/10 / 2012 12:36:28
    101 4/10 / 2012 20:36:12
    101 4/11 / 2012 09:36:28
    101 4/11 / 2012 16:36:22
    Here, I need to display the following columns

    EmpID, min (DAT) as start, max (dat) as end and difference (max (dat) - min (dat) for each day,
    for example,.
    End difference EmpID Strart
    101 4/9/2012 09:48:54 09/04/2012 18:16:28 8.28
    Like this.
    3 days different here is so it should return 3 discs with the mentioned columns above,
    Please help me find it.

    Thank you
    Kind regards
    Gurujothi

    Published by: Gurujothi on April 25, 2012 04:45

    Gurujothi wrote:
    Dear Alex,
    Thank you for your reply,
    Depending on whether you are your quesy showing it in hour and minutes format its right but you mention all rows of the query
    If the table has more than 3000 lines then how it is possible to write this much higher request,
    my table with almost 3500 lines.

    You can make a few changes in the above query I posted the last I mentioned?

    Thank you.

    Published by: Gurujothi on April 25, 2012 23:18

    Hello

    You don't need to write whole records 3000 it... alex just wrote that for example have no table as your table...
    so just use the under part of this query as in the previous post, alex:

    select empid, trunc(dat),
           min(dat) as start_dat,  to_char(min(dat), 'hh24:mi:ss') as start_dat_part,
           max(dat) as end_dat, to_char(max(dat), 'hh24:mi:ss') as end_dat_part,
           max(dat)-min(dat) diff, to_char(max(dat)-min(dat), 'hh24:mi:ss') diff_part,
           extract(day from max(dat)-min(dat)) || ' days'
           || ':' ||  extract(hour from max(dat)-min(dat)) || ' hours'
           || ':' ||  extract(minute from max(dat)-min(dat)) || ' mins'
           || ':' ||  extract(second from max(dat)-min(dat)) || ' sekas'
    from trans
    group by empid, trunc(dat)
    

    hope this fixes your need

  • Differences between the two custom (or not) versions

    Hello

    When I go to download ESXi, there are a few choices, and I can't find much information about those. For example, there is a version called "VMware-VMvisor-InstallerCD - 4.0_Update1 - 208167.i386_DellCustomized.iso. Now, what is there in this version which is not in the ordinary? I could for example "Dell OpenManage Server" to work on this install ESXi so that I could control my RAID?

    Thank you very much!

    Custom versions are intended for hardware supported for the respective manufacturers. If your hardware is Dell and it's HCL , then you should choose the version of Dell. It has modules specific etc. specifically for the server and can give you expanded opportunities for monitoring etc. If the material is a Dell but not in the HCL do NOT use the specific version of Dell as it can / will probably crash.

  • What is the difference between the Firefox for android and Firefox beta

    I noticed in the store of Google play there are two applications of Firefox. What is the center of the difference between the two Firefox browser for android and Firefox beta.

    Firefox for android is just the regular and stable browser that is recommended. Beta of Firefox for android is the next version of firefox that is in beta (test yet, but almost ready) step and is not ready for an official release because he has a few folds and fixes to do. But firefox for android beta has some of the features the most recent Firefox should be released soon as an official version.

    The current version of firefox for android is 34.01.
    The current version of firefox for android beta is 35.0.

  • What is the difference between the export photos and pictures of unmodified export

    I'm trying to export my library of photos of 30 GB on a hard drive. When you choose file > export gives two options: export the Photos... and export Unmodified Original...

    Is there a difference between the two options?

    When I export the location data is backed up?

    The original unmodified are image files full-size that have been imported into the library at the start.

    Export Photos will give you the edited version (if it is edited).  Also, you will have a chance to change the size of the file (Mbs) and/or the image (pixels) size when exporting and to change the JPEG, tiff or png.

Maybe you are looking for

  • No satellite L750D-IDM no WiFi connection possible

    Hello. My wireless connection has dropped suddenly dead yesterday.He said that the atheros wireless network adapter works perfectly, but my wireless is disabled. support tells me that I have to turn it on, the adapter, but he didn't tell me where. re

  • Configuration of the simulator of MD5

    Hello, am having trouble lately with my simulators (OS7 and more) network access. I have an app I want to test it with the Internet, how to configure MD5 to allow access to the network for my simulators. Thank you.

  • Activating Windows popped up and said this product key you entered cannot be used to activate windows on this computer.

    Product key problem I have three computers at home. And I have them updated to windows 7. But after I installed the new windows, activate windows popped up and said this product key you entered cannot be used to activate windows on this computer. It'

  • WriteToFile

    Hi guys,.Is it possible to record the amounts and accounts of the WriteToFile routine?If so, could you please let me know the variables?Thank you!Ligia

  • Extract a string and the following string

    I need to extract a word JNF and its following, if the JNF Word is found in a string.  Could someone help me with this please?For example.  "Proudct has this 10 oz bottle JNF 15 content."Here, I want to just extract JNF 15