MovieCLip Comparation

Good night. A Hug from Venezuela!
I am entering the world of Flash and as3 and I have a question about the movie clip.
I have a movie clip and each has a value, my question is:
As I can make a comparison between them to see which is the greater and which is smaller?
example:
I have 10 cards and compare between them to see which is the highest and lowest
How can I do this?
thnks All !

o thnks man!!! u are the best !!
my Simple Code:
cart1.value = 40;
cart2.value = 39;
if(cartblu.value > cardred.value)
     trace("The Card Blu is The best");
else
               trace("The card Red Is The Best");
I have 3 more questions, and I'm sorry to bother starting with as3, I've only programmed in c + + 6.0 and basic things no big deal and I can not understand the things I'm reading a book by as3
http://help.adobe.com/es_ES/ActionScript/3.0_ProgrammingAS3/flash_as3_programming.pdf
You can add 2 different values to a movie clip?
example:
movieclip1.value = 1
movieclip1.value = 96
movieclip2.value = 2
movieclip2.value = 58
movieclip3.value = 1
movieclip3.value = 857
etc ...
1) What I mean is that each movie clip is 2 values, when making a call to the value of
clipdepelicula1.Value = 1 / / value of the card
and when you need to make an event that needs the second value of the same letter
clipdepelicula1.value = 96 / / Points that gives the letter
2) my other question is:
  I have 100 movie clips, each with a value already defined
as an achievement to make 2 clips of movies comparing random (that is Ramdon the comparison, ie that you can select 2 random movie clip and compare)
3) Might you explain me this line of code, I can not understand that it serves the function "new" if I Might to another example.
Thank you I thank you from the heart!
A Hug from Venezuela
var myBirthday:Date = New Date()
for the reserved word is used "new"

Similar Messages

  • Add and remove items by comparing 2 arrays

    I have two arrays of objects. Each object has a unique name property besides few others. One of the array is a local copy and the other one is sent from server after regular intervals. The local copy of arrays is then used to add a movieclips into a container.
    Now, I want that when I receive an array from the server, I compare it with the one which is already with me locally such that the items which were not in the received array but were there in the local array, get removed from the container and the newly added ones only get added. The items which were present in both local and remote array remain as it is. how can i do this?

    I may be missing something, but it doesn't sound like you need to compare anything, you just need to replace the local array with the newly received one.
    local array = 1,2,3,4,5
    new array  3,4,5,6,7
    Based on what you described you would get rid of 1 and 2 and use 3,4,5.  I am assuming you would use the new ones that came from the server, so you essentially end up using 3,4,5,6,7
    So you should just need to go thru the new array and if something in the container is not in the new array then remove it.

  • Air 3.0 distorts movieclip on stage

    Since switching to AIR 3.0, has anyone noticed differences in the way their mobile app looks when run in the FB4.5 environment compared to a mobile device like an iPhone 4?
    I have a simple AS3 Mobile project built in Air 2.7 which was working fine.
    I tried to compile using Air 3.0 and now a movieClip on the stage is  distorting. Hard to describe what it's doing. Essentially the y position is about 220 pixels off of the screen, and the bottom is distorted/stretched.
    The weird thing is that it only does it in the Flash Builder environment, it looks fine when the ipa is run on an iphone 4.
    Some background:
    <aspectRatio>portrait</aspectRatio>
    <autoOrients>true</autoOrients>
    <fullScreen>true</fullScreen>
    <renderMode>gpu</renderMode>

    I'm having the same result when running the AIR debug launcher (ADL) from withing Flash CS 5.5.  I downloaded and overlaid AIR 3.0 SDK per the instructions (http://kb2.adobe.com/cps/908/cpsid_90810.html).  I have a graphics-heavy FLA with the following settings:
    Publish Settings
    Player: AIR for iOS
    Script: ActionScript 3.0
    Hardware acceleration: Level 2 - GPU
    AIR for iOS Settings
    Aspect ratio: Landscape
    Full screen
    Auto orientation
    Rendering: GPU
    Device: iPhone and iPad
    Resolution: High
    Things were fine with AIR 2.7 overlaid, but since switching to 3.0 whenever I click Control > Test Movie > In AIR Debug Launcher (Mobile) I get the same display issue as noted above - the display objects are all pushed up so that the bottom edge is about 200 pixels from the top of the frame, with the last row of pixels stretched down to the bottom of the frame (ends up looking like vertical lines of color).  The buttons that are normally along the bottom, are now partially off frame at the top, however, the mouse clicks for them still register as if they were at the bottom where they're supposed to be.
    I cycled through all the different AIR for iOS Settings and it seems that having the Rendering set to GPU is the culprit.  Everything's fine in ADL unless it's set to GPU.
    I recall a similar problem with AIR 2.6/2.7 but it was eventually fixed though I don't think Adobe announced it as a bug fix, they just replaced the AIR SDK downloader quietly in the night.
    Argh!!!

  • How to check if a image/MovieClip is in particular position??

    Hi, I m trying to develop a e-Learning kind of stuff where in All the planets of solar
    system are jumbled and then the Kid has to drag and drop the each planets in order.
    But what i need is After the kid drags and drops the image/MovieClip in order, I need
    to verify all the Planets whether they are in particular order or not. How to Verify the
    Objects??  Please Help.

    you can calculate the distance (or something comparable) from the sun and use that to determine if the planets are in the correct relative positions.

  • Movieclip - Button - Location on stage

    Fellow Gurus!
    I am using Flash 8.
    I rendered some boxes on the stage. One is for a menu and
    another is for graphics. The idea is to have a picture pop-up in
    the graphic box whenever one passes a mouse over a button in the
    menu (which is in the menu box).
    I have added movie clips to each button’s mouse-over.
    The movie clips contain a picture (at least for now). Thus when you
    pass a mouse over the button, a picture pops up. That is the easy
    part.
    Now, I could simply reposition the movie clip until it
    appears within the graphic box. My problem is – I have a
    bunch of buttons and they may or may not be placed in the menu in
    exact positions. If I were to change a button’s position, the
    movie clip’s position is relative to the button and not the
    stage thus it would have to be repositioned as well.
    Therefore, the pop-up pictures within the movie clips which
    are within the buttons must all pop-up in the graphic box
    regardless of where I place or reposition the buttons.
    Let’s say I have the graphic box located at x=500 and y
    = 120.
    Let’s say the button’s name is First_btn.
    Let’s say the movie clip’s name is OneTest_mc.
    And, I can bring it on stage in order to add an instance name
    of perhaps TestOne.
    Now, I have looked at localToGlobal and globalToLocal. I am
    not sure which one work for my situation.
    I am assuming that I can add AS2 to the movie clip’s
    (OneTest_mc) timeline – if that is not where it goes - let me
    know.
    I have looked at the various scripts on the Internet and all
    they do is confuse me, namely because they are rotating graphics,
    etc. In another words, they complicate the examples. What I need is
    a script to add to each button/movie clip to make them all place
    the pop-up graphic in the box regardless of where the button is
    located.
    However, I do not just want a piece of script. I would
    appreciate some explanation of the code so I can learn from it
    – not just giving me a fish but teaching me how to fish.
    Thanks in advance,
    Bill

    I am not sure if I get this.
    First of all, I am no sure if it is globalToLocal or
    localToGlobal that I need to use – or maybe you are
    discussing something else entirely.
    You said: “… the sum of your button's _x property
    and the _x property of your graphic relative to your button) is the
    _x property you want to assign your movieclip if you want it to
    appear on the same timeline as your button and overlap your graphic
    (assuming your reg points are comparable). likewise for the _y
    property.”
    I read and reread the above answer. However, I do not have
    enough of a handle on Action Script to see the logic.
    “I am illuminated with darkness,” as Tennyson
    might have said. I am assuming that I should figure out how to get
    the button’s x & y no matter where it is placed –
    and not by reading them as numbers. I guess I need a hint –
    how do I capture the button’s x & y coordinates if they
    are changeable?
    I think this captures the x & y for the button –
    have I got it right?
    Var point = new Object ();
    point.x = First_btn.x; // First_btn is the name of the button
    point.y = First_btn.y; // First_btn is the name of the button
    OneTest_mc.globalToLocal (point); // OneTest_mc is the name
    of the movie clip
    If the above script is valid, and it most likely is not since
    I haven’t a clue what I am doing, then the movie clip would
    end up located where the button is located on the stage.
    Thanks for your help past and future as well as anyone
    else’s help.

  • Movieclip buttons actionscript errors

    Hi,
    I have tried using this type of button for the first time and
    also ActionScript.
    I have made a movie clip with _up and _over states and it
    works.
    But the onRelease is doing two strange things.
    Firstly, If I click on a button it will go to the page, say
    "Home" but when I click on it again it will make the movieclip for
    the page disapper.
    I then have to click again to get it back.
    Secondly, I am trying to make the buttons work with the
    rollOver when another button is clicked, a button other than the
    one used to show the current page.
    I have it kind of working but its not now I want it.

    For this line of code:
    if (_root.mcHome != "_on")
    You appear to be trying to use what is a frame label as a
    value compare to the movieclip instance... they will never equate.
    One is an object and the other is...??? a label.
    You probably need to set a boolean variable to true/false as
    needed and compare that...
    So when you do whatever makes mcHome goto the _on location,
    at that location you would set the variable to be true...
    mcHomeOn = true;
    Then you could test that value...
    if(mcHomeOn)...

  • CS5 wont x0 y0 a movieclip like Flash8 did.

    Hi,
    Flash 8
    1) New doc and insert >new symbol>graphic, draw a rectangle, give it a colour other than black and exit to scene1
    2) Insert New MovieClip, dragdrop graphic from library to stage of movieclip, it has a small cross within the rectangle lower left of centre, relating to nothing in particular.   In properties make x 0 y 0 and exit back to scene1
    3) Drag drop Movieclip from library to stage and in properties make x0 y0
    The result is the rectangle sitting snug up in the left top corner of the stage with a little + at that top left corner.
    That cross is what gets moved to 0,0 taking the MovieClip with it.
    Ok so far.
    Do this sequence in CS5 and at stage 3 there is a cross within the rectangle and not at its top left corner, When I make x0 y0 that cross locates to stage topleft and throws the rectangle out beyond the stage.
    As such its not my Freehand vector prog artwork at fault. Its a difference in the programming of the two versions. An error in CS5 as one would expect artwork to register as it does in Flash8.
    I noticed this as I am importing busroutes to stage, each has the same border and in Flash8 using x0 y0 I register all these back together again and in register with a base map. Works fine.
    In flash CS5 they are coming in out of register, my MovieClip of a bus route sees a cross sitting outside of the rectangle's top left corner and x0 y0 sees the MovieClip offset South east to where it should go. Flsh8 manages all this no problem. I register many routes onto the map all at x0 y0. To work now with actionscript3 I am using CS5.
    Why has CS5 an inability to place that cross topleft corner of my boxes , so messing up my registering of my artwork ?
    What is the solution ?  Can I alter a setting and have it act like Flash8, the register + topleft for a MovieClip.
    Is it going wrong in the graphic into MovieClip stage ?
    Cheers
    Envirographics

    Hi.
    My graphic is drawn in Macromedia Freehand (now Adobe Freehand) and imported to Library.
    1) Insert>NewSymbol>MovieClip and drag drop the graphic from library onto white area and make x0  y0
    2) return to Scene1 and drag drop MoveClip to stage and make x0  y0 and top left corner of graphic registers with top left of stage.
    Jobs a good 'un ! done it many times.
    I am unable to import Freehand into CS5 so I open the Flash8 file into CS5 and copy paste the graphic from that file into my CS5 files library.
    I do stages 1 and 2 only to see the MovieClip artwork sit offset south east of the stage corner with its cross located in that corner.
    Is it the opening of these graphic files that work fine in Flash8 into CS5, ...no !  heres the evidence:-
    Comparing both programs with native boxes drawn in those progs:-
    Flash8
    1) File>New then insert>New symbol>Graphic, we see a +
    2) Draw a box with the + in the lower right portion of the box and within the box area. (DO NOT select it and make x0  y0 (as per freehand file in other words)  )
    3) Exit to Scene1
    4) Insert>New symbol>MovieClip, see a white area with a +, then dragdrop the graphic onto the white with the + of the movieclip stage sitting within the lower left portion of the graphic, the graphic now has two +'s, the other being that from step1.
    So far Flash 8 and CS5 are the same.
    5) make x 0  y0 and the left + now moves to the top left corner of the graphic.
    IN CS5 the MovieClip stage + vanishes, we have only one + still near bottom right and its the one from step 2.
    6) exit to scene1
    7) drag drop MovieClip from lib to stage. We see our graphic with a + top left corner
    In CS5 there is no + in its top left corner.
    8) make x 0  y 0 and the top left corner of the box is now at the top left corner of the stage.
    In CS5 the box is out beyond the stage, with the + from step 2 positioned top left corner of stage !
    Its quite evident that CS5 is handling graphics differently.
    So do the graphics look different in Flash8 and CS5 if double clicked from within library, no !  both have a + sitting out beyond the top left corner.
    This doesnt see Flash8 use it but does see CS5 use it to offset the MovieClip from where I need it to go.
    It looks like I shall have to introduce a new stage in the well trodden process,, that of import graphic to library then d/click it and make x 0  y 0 before procedding further. Doing this sees the cross restored to the top left corner in steps 5 and 6 above, and correct registration in 8.
    Envirographics

  • Creating .as class in Flash Builder for movieclip stored in SWC

    I need to use movieclips created in Flash Professional CC in my Flash Builder project. I have exported my .fla file as an .swc and included it in my Flash Builder project. The movieclips for which I DON'T need a custom .as class import without a problem. But the movieclips that need to be linked to an .as class don't appear. I have tried the following, using my ThoughtBubble movieclip as an example:
    1) Giving the .fla with the ThoughtBubble movieclip access to ThoughtBubble.as so that the movieclip doesn't create a dummy ThoughtBubble.as file.
    2) Denying the .fla access to ThoughtBubble.as so that the movieclip is forced to create a dummy ThoughtBubble.as class.
    Either way, the ThoughtBubble movieclip does not appear in the list of movieclips in my swc when imported into my Flash Builder project.
    3) I also tried removing my ThoughtBubble.as file from my FlashBuilder project and THEN importing the swc. The ThoughtBubble movieclip does show up in the list of swc assets--BUT when I try to create a ThoughtBubble.as file, I get the following error: "ThoughtBubble.swc already exists."
    What am I doing wrong? How can I link my ThoughtBubble movieclip with ThoughtBubble.as in Flash Builder?
    Here is a screenshot of my fla publish settings:
    And a screenshot of my ThoughtBubble movieclip properties:
    Thanks in advance!

    flex is not good for games because of performance compared to pure as3

  • Detect the type of DisplayObject (Sprite, MovieClip, Bitmap etc).

    Hello,
    Is there a way to detect the type of a DisplayObject with a switch case statement?
    I noticed that you can check if the displayobject compared to the type returns true or false.
    Trace(mydisplayObj is Sprite);  //return true or false
    Trace(mydisplayObj is MovieClip); //return true or false
    But isn't there an option to get the type of the displayObject directly?
    like,
    switch (typeof(mydisplayObj)) {
         case Sprite:
         break;
         case MovieClip:
         break;
         case Bitmap:
         break;
    regards,
    Chris.

    Yes you can.
    trace(getQualifiedClassName(mydispalyObj));
    That will trace out the package and class name, so in your example you would get
    flash.display::Sprite
    flash.display::MovieClip
    I thought there was one that gave just the class name without the package, but I can't remember or find it at the moment...
    But that should help you out.

  • Get the values from a table comparing fields of different data types

    Hi Experts,
    I want to fetch AFVC-AUFPL and AFVC- APLZL by passing WBS element from a ztable.
    select aufpl aplzl
      from  afvc
      into TABLE gt_afvc
      FOR ALL ENTRIES IN gt_boq
      where projn = gt_boq-posid.
    AFVC-PROJN - NUMC 8  (WBC ELEMENT)
    ZTABLE-POSID - CHAR24 (WBC ELEMENT)
    How to get aufpl and aplzl by comparing those 2?
    Regards
    Mani

    WBS element does have an conversion routine at the domain level. So sometimes you work with one format (8 digits) and sometimes with 24 digits.
    You use FMs
    CONVERSION_EXIT_ABPSP_INPUT
    CONVERSION_EXIT_ABPSP_OUTPUT
    to convert between values. Do your conversion before your select and do not forget to use a large enough data element for the field, which gets the 24-digits long value of the field.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • How to compare delivery date in schedule lines and PGI in outbound delivery

    Hi,
    I want to create a report to monitor and compare different dates in sales and delivery process.
    One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
    But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
    Would you have any idea?
    Thank you.

    It seems there's no exact (table) connection / link between delivery item and schedule line item.
    Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
    This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
    (if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
    Schedule Line and Delivery Link
    Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM

  • What is new in ECC 5.0 compared to R/3 4.7 version

    Hi
    what is new in ECC 5.0 compared to R/3 4.7 version
    Thanks in Advance
    Deepa

    Hi
    see these links
    Refer this link for ECC 5.0 & 6.0:
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    A similar post
    /message/1783778#1783778 [original link is broken]
    You can go through the Release Notes for each of the versions after 4.6B (4.6C, 4.7 , ECC 5.0 & ECC 6.0)
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/688055b88f297ee10000000a422035/content.htm
    For 4.7 SAP R/3 http://help.sap.com/saphelp_47x200/helpdata/en/12/9d78d6d8f74043a32e82be87e433b7/content.htm
    Release Notes on SAP Web Application Server 6.30
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/64fc3e9d3b6927e10000000a114084/content.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Reward points if useful
    Regards
    Anji

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Getting error in XMLP while compare a Tag value to partial value

    Hi All,
    We are working on 'AP Check Print Report' which is XML based Report and the output is in the PDF format.
    We are facing a problem when we are suppose to compare a Tag value (DocumentNumber/ReferenceNumber) to a partial value('%TDS-CM%') as below,
    <?if:DocumentNumber/ReferenceNumber NOT LIKE '%TDS-CM%'?>
    Can someone help me, how to achieve it as well as whether it can be done or not.
    Thanks in advance
    Abhishek

    Have a look at these threads:
    Re: Using Wild Card % in the IF condition of RTF templates
    Re: Syntax for IN / NOT IN Commands
    Thanks!

Maybe you are looking for

  • ODBC Error

    Hello, I'm getting an error when trying to set up an ODBC data source. I just installed the ODBC driver 9.2.0.54. When I test the connection, I first get an error that says: The procedure entry point lxhlcmod could not be located in the dynamic link

  • How to I transfer a Song

    I cannot seem to find a way to transfer a song from my ITunes library on my laptop to my phone.  Syncing the phone does not work.  Any suggestions?

  • When will I get my iPhone 6 plus?

    VVerizon rep please help. Ordered two 64 gb iPhone 6 pluses one black one silver. Ordered on 9/12. Should of gotten them today, any word on when they will arrive??iPhone 6

  • Can't import from DB using Admin tool

    Hello I have a problem that I'd like to get some help on. I have installed OBIEE 11.1.1.7 on Linux as well as the OBIEE Client Tool on Windows. I have modified the user.cmd file so that now the file has the following content: @echo off REM This file

  • SEM-BSC VS ECCS

    Hi, Can anyone explain what is the differences between ECCS and BCS in terms of configuration and processes? We are using ECCS (version 4.6C) currently and is going to upgrade to ECC6. And knowing that in ECC6, the consolidation is applying SEM-BCS w