Curve fitting problem: simultaneously fitting two datasets to two different model functions with shared parameters

Hello! As stated above, I have the following problem: I have 2 sets (different systems) of measurement data (Voltages measured as functions of applied frequency). I would like to make curve fits with Levenber-Marquardt-method to both datasets (the datasets have the same x-values = frequencies), fitting the 2 datasets to their own separate model functions. However, the different model functions should have same values for the shared parameters (this prevents me from doing 2 totally separate curve fittings).
I have LabVIEW version 7.1, if anybody could help me with the problem, I would appreciate it very much. Thank you!

Would you like to try this:
http://forums.ni.com/t5/LabVIEW/levenberg-Marquardt/td-p/668782
http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/nonlinear_curve_fit/
http://digital.ni.com/public.nsf/allkb/BACF6FDF1B40993686256CC300657BA4
With LV 7.1, I don't know if we have a such feature with that version. Please check out for the latest LV versions.
BR,
Make Nguyen
NI Finland Technical Support

Similar Messages

  • I need to rename my itunes library, as I have two libraries on 2 different Mac's with the same name.  Can this be done?

    Hi, I have an iMac in one room and a Mac Mini in another.  Each is set up independantly and I unfortunately gave the same iTunes Library name to both libraries, which is now making it impossible for me to use my iPhone as a remote to both libraries.  I prefer to have 2 different libraries.
    Can I rename one library and if so, how?
    Cheers

    You can change the name from iTunes preferences.
    If you choose to share your entire library, its name appears in the iTunes window (below Shared) on other local computers set up to look for shared libraries. To change the name others see, choose iTunes > Preferences, click General, and type a new name in the Library Name field.
    From iTunes 10 for Mac: Share your iTunes library

  • Record a videocall with shared content between two endpoints

    Good day! I faced a next task a record of a videocall between two endpoints.  For example, a videocall with shared content between two DX70. I doubt that MediaSense is able to record content, whereas Telepresence Content Server is extremely expensive solution. What simple way is for sorting out my issue?

    I believe that if you edit any song information (Name, Artist, Album, etc.), iTunes refuses to edit the actual file (but keeps a cache record of the changes). If you "Compile iTunes Library" (see below), it will make a change to the duplicate file it creates, and keeps record of the ratings as well.
    To compile your iTunes library, go to the "iTunes" option, and select Library... >> Organize Library... and select "Consolidate Files". This will duplicate your files, and move the duplicates to the iTunes Music Folder (organized by artist and such). You can then copy and move this file to your iMac.

  • I have a iPad Keyboard Dock for the iPad 1. I purchase an iPad 2 and the dock worked fine for a week no fit problem none worked. I received a tiny message about  iPad Keyboard Dock it stop working immediately after dismissing message.

    I have a iPad Keyboard Dock for the iPad 1. I purchase an iPad 2 and the dock worked fine for a week no fit problem none worked. I received a tiny message about  iPad Keyboard Dock it stop working immediately after dismissing message.

    Hi and welcome..
    Connect your iPad to your computer. Launch iTunes. Make sure your iPad is recognized in iTunes under Devices on the left.
    Select the Summary tab then click Update.
    Just to make sure your iPad software is up to date.
    Carolyn

  • TWO PROBLEMS:( BLACKBERRY CURVE 9300) 1) Unable to send/receive e-mails 2) black square with a minute hand whizzing round

    Hello,
    I have a BLACKBERRY CURVE 9300
               i would be most grateful if someone could help me with persistent problems, which ive previously enlisted the help of T-mobile to resolve but to no avail.
    1) I am unable to send/ receive e-mails, this has been an ongoing problem which seems to sort itself out for a short while then returns, i have been asked  to remove e-mail accounts from device and re-boot, and as i say works for a short time then starts again.
    2) I have this annoying black square in the middle of the screen with like a second hand whizzing round which can sometimes last ages. I was told by t-mobile this was due to not doing regular device updates, i have since done this and as i type continue to see this symbol.
    Any advice/suggestions would be gratefully received.
    Thankyou.
    Andrew Goodall

    The spinning clock is usually an indicator of low memory. Make sure you are completely closing apps your aren't using by using the close or exit option in the menu instead of just backing out of the app with the escape key. Also check your memory after you have rebooted your device. If it is still low then you may have to delete apps you absolutely don't need or use to get memory back.
    As for the email issue I am assuming you have a data plan since you have tried to fix the problem with Tmobile. If you haven't done so you may have to re-register your phone on the network and or log into Tmobile's BIS site to resend your service books.

  • Nonlinear fit model function

    Hi, I'm trying to use a custom fit - fitting modified error function to the provided data. 
    For the nonlinear fit I need a model fitting function VI, which I created from template (attached LM_erf_model.vi). 
    I have a problem connecting the reference for the attached function to f(x,a) input of the Levenberg-Marquardt
    nonlinear fit VI - I can't create the proper reference and end up with
    You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes. 
    What's the proper way of creating the reference for this model function to be used in marquardt test .vi?
    Regards
    Michal 
    Message Edited by mdwuznik on 01-29-2009 01:07 AM
    Solved!
    Go to Solution.
    Attachments:
    LM_erf_model.vi ‏121 KB
    marquardt_test.vi ‏16 KB

    It is typically much easier to place a static VI reference on the diagram, then
    right-click...browse for path...point to the model VI
    right-click the static reference and make it strict (red star)
    hook it up the the nonlinear fitting VI, ignore the coercion dot.
    Your model functions is overly complicated. Index array is resizeable, so get the three parameters before the loop at once. No need to index the same element with every itreation of the loop. I would recommend not to use a formula express VI.
    Do you have some typical data?
    Message Edited by altenbach on 01-28-2009 05:50 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    modelFnc.png ‏4 KB
    modelfnc2.png ‏7 KB

  • How to use same group element from two dataset

    Hi,
    I've two datasets in xml file which has one common field(say colA). I've two subreports in the workbook, first one from dataset_1, second one built from dataset_2.
    ColA should be used as a group-by field above the section and split-by-page-break. If I use colA from respective dataset in the subreports, first it will display subreport_1 for each colA value and then starts subreport_2. How can I display 2 subreports for one colA value then pagebreak and in next page 2 subreports for 2nd colA value..so on?
    Please suggest.
    Regards.

    Hi Vetsrini,
    Thanks very much for your help.
    There are 2 distinct M_KOG3_CONC in xml dataset I posted: 000 and 574. The same field is named as M_KOG3_CONC2 in 2nd dataset.
    Desired output:
    KOG3: 000
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    KOG3: 574
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    My problem is to match value of M_KOG3_CONC2 with current value of M_KOG3_CONC inside for-loop of M_KOG3_CONC; ie, when M_KOG3_CONC=000 from 1st dataset, bring those rows from 2nd dataset which has M_KOG3_CONC2=000, when M_KOG3_CONC=xxx, bring rows from 2nd dataset with M_KOG3_CONC2=xxx so on..
    I used that if statement only to enforce matching between M_KOG3_CONC and M_KOG3_CONC2.
    I ran your template. It is giving too high values for Monthly No. of Services, which is not there in the xml dataset.
    Can you please look.
    Kind Regards.

  • Fit functions with optionally fixed parameters?

    How can I fit functions ranging from a basic linear fit to any
    user-defined function to a set of x-y data with the option of keeping
    single fit parameters fixed (e.g. a known slope in a linear fit)? One
    possibility would be creating an according formula for the
    Levenberg-Marquard-algorithm each time a parameter is set to be fixed
    but that seems to be a bit inconvenient. Is there a simple approach to
    this problem, I guess I'm not the first to try it? Thanks a lot,
    Daniel

    dtroendle wrote:
    How can I fit functions ranging from a basic linear fit to any user-defined function to a set of x-y data with the option of keeping single fit parameters fixed (e.g. a known slope in a linear fit)? Is there a simple approach to this problem, I guess I'm not the first to try it?
    Daniel,
    I have modified the Lev-Mar routines long ago to allow the runtime selection of which paramters should be fixed and which should be held constant. It is not very difficult to implement. I use it to fit EPR spectra where the model can have up to ~30 parameters, but typically only less than 10 are fit while the rest are kept constant.
    Basically, I added a boolean array as input to Lev-Mar which has the same number of elements as the number of paramters of the model function. For each element, a TRUE means that the corresponding parameter should be fit while a FALSE means that the corresponding parameter should be held fixed at the value of the initial estimate.
    You just need to seperate out the reduced problem for the fitting part, but carry all parameters along for the model calculation.
    It works great!
    I am currently traveling in Japan and don't have access to my VIs. Please contact me next week by private e-mail (You can find my e-mail address on the FP of some of my examples posted here, e.g. HERE.
    LabVIEW Champion . Do more with less code and in less time .

  • REQ: Add 'Fit-width' or 'Fit-visible' view mode, in which the zoom level is automatically set based on the width of the _current_ page.

    Currently, the default zoom level when viewing a page of a PDF file is automatically calculated based on the width of the "widest" page of the document. This means that, if the document contains one page that is wider than the others or is in landscape orientation, then the default zoom, when viewing all the other narrower pages, is set in a way so that the page does not use the full width of the screen. This results in very poor experience, because the zoom level and the visible area of the page have to be constantly adjusted for each page. The latest update (at the time of writing) has added some extra view modes, but not the much needed 'Fit width' or 'Fit visible'.
    Personally, I can find no reason valid enough to justify the lack of such a view mode. Automatically setting the zoom level based on the width of the current page so as to take advantage of the full width of the screen should be a must have feature for mobile devices, if not the default behavior. The current default behavior regarding the zoom level is pretty much useless, even on 8"/10" screens. There should be a view mode in which the full width of the screen is always used to display the document.
    Examples of documents for which the Adobe Reader for Android provides a poor reading experience are:
    documents which contain some of their pages in landscape orientation.
    publications which, apart from the main content, also contain the full front and back cover in a single page (usually first page which is much wider than the content pages) or any other extra pages like cards or application forms (that are meant to be printed) which usually use an A4/Letter page size etc.
    documents which have been cropped by external utilities or scripts so as to eliminate unneeded white margins (in some cases not all pages have the same width).
    Please consider fixing the default behavior in future releases of the Reader for Android or add a 'Fit width' or 'Fit visible' view mode.
    Thank you in advance.
    Message was edited by: George Notaras
    Improved descriptions of example documents.

    To add to this, if you prefer you can separate your JavaScript from your JSF pages.
    Add a folder (I named mine 'js') to your application's ViewController project's public_html folder.
    Via JDeveloper, create a new JavaScript file inside your newly created folder and place your JavaScript functions inside it.
    You can then 'load' the .js file using the method Shantala described, with the addition of an added 'source' property to the af:reference tag.
    (This can also be a URI reference to a JavaScript file hosted on a web server)
    <f:facet name="metaContainer">
      <af:resource source="/js/myJsFile.js" type="javascript"/>
    </f:facet>The benefits of this 'split' are cleaner JSF page source and also code-highlighting and formatting within the .js file making finding and fixing bugs in your JavaScript much easier.
    It appears however, that when using <af:resource> to load scripts, once the page has been submitted even once, the JavaScript is no longer available to the page. Which isn't very useful.
    A solution is to use <trh:script>.
    Add xmlns:trh="http://myfaces.apache.org/trinidad/html" to your <jsp:root> tag and install the library.
    then in place of the above code use:
    <f:facet name="metaContainer">
      <trh:script id="script1" source="/js/myJsFile.js"/>
    </f:facet>Now after a page submit the JavaScript still functions.
    Edited by: Matthew Carrigy on 12/08/2009 10:39

  • How to add two datasets inside a same tablix?

    Hi Everyone,
    I want to create a report as using project server datas with two datasets in the same tablix.my report has three grouping by Months,Resources, and Resource Role.my dataset has resource name parameter.when i selected a few resource as filter,LookupSet function
    gives me an array.But it is taking first value of array for each resource.Actually it must get related value for resource in the array.

    Hi Visakh,
    i tried to merge them at backend.but it gave me the wrong results.because resource has 168 hours capacity at selected date range.
    For example:
    i selected dates between 01.11.2013 and 30.11.2013.there are 3 project at this date range for this Resource.but it gave me less result for capacity.i think that it is bringing the capacity according to the results in Epm_AssignmentByDay_Userview table matching.but
    it must bring the result according to selected date range.
    My SP:
    USE [ProjectServer_Reporting_Canli]
    GO
    /****** Object:  StoredProcedure [dbo].[CSP_ResourceCapacityControl]    Script Date: 01/26/2014 04:31:31 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[CSP_ResourceCapacityControl]
    @Resources VARCHAR(4000),
    @ResourceRole VARCHAR(4000),
    @DateStart DATETIME,
    @DateEnd DATETIME,
    @Programme VARCHAR(4000)
    AS
    BEGIN
    SELECT
    TimeByDay,
    ResourceUID,
    ResourceName,
    Capacity,
    ProjectUID,
    ProjectName,
    [Project  Type.Proje Türü],
    [Function.Fonksiyon],
    [Proje Durum],
    ProjectStartDate,
    ProjectFinishDate,
    [Role.Rol],
    [Speciality.Uzmanlık],
    Rol_KaynakAnalizi,
    [OutSource Company.Dış Kaynak Firma],
    [Source.Kaynak],
    [programme.program],
    SUM(BaselineAssignmentWork) AS BaselineWork,
    SUM(AssignmentActualWork) AS ActualWork,
    SUM(AssignmentWork) AS AssignmentWork,
    SUM(AssignmenRPlanWork) AS AssginmenRPlanWork
    FROM
    (SELECT
    ABD.TimeByDay,
    RUV.ResourceName,
    PUV.ProjectUID,
    PUV.ProjectName,
    PUV.[Project  Type.Proje Türü],
    PUV.[Function.Fonksiyon],
    PUV.[Proje Durum],
    PUV.ProjectStartDate,
    PUV.ProjectFinishDate,
    RUV.ResourceUID,
    RUV.[Role.Rol],
    RUV.[Speciality.Uzmanlık],
    RUV.Rol_KaynakAnalizi,
    RUV.[OutSource Company.Dış Kaynak Firma],
    RUV.[Source.Kaynak],
    PUV.[programme.program],
    RDB.Capacity,
    SUM(ABD.AssignmentBaseline0Work)AS BaselineAssignmentWork,
    SUM(ABD.AssignmentWork) AS AssignmentWork,
    SUM(ABD.AssignmentActualWork) AS AssignmentActualWork,
    SUM(ABD.AssignmentResourcePlanWork) AS AssignmenRPlanWork
    FROM
    dbo.MSP_EpmAssignmentByDay_UserView AS ABD
    INNER JOIN
    dbo.MSP_EpmAssignment_UserView AS AUV
    ON
    ABD.AssignmentUID = AUV.AssignmentUID
    INNER JOIN
    dbo.MSP_EpmProject_UserView AS PUV
    ON
    PUV.ProjectUID = AUV.ProjectUID
    INNER JOIN
    dbo.MSP_EpmResourceByDay_UserView RDB
    ON
    RDB.ResourceUID=AUV.ResourceUID and RDB.TimeByDay=ABD.TimeByDay
    INNER JOIN
       dbo.MSP_EpmResource_UserView AS RUV
    ON
    RUV.ResourceUID = AUV.ResourceUID
    INNER JOIN
    (SELECT ObjectUID
    FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Resources)) As ParamResourceUIDs
    ON
    RUV.ResourceUID = ParamResourceUIDs.ObjectUID
    INNER JOIN
    (SELECT ObjectUID
    FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@ResourceRole)) As ParamResourceRoleID
    ON
    RUV.Rol_KaynakAnalizi = ParamResourceRoleID.ObjectUID
    INNER JOIN
    (SELECT ObjectUID
    FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Programme)) As ParamProgramme
    ON
    PUV.[programme.program]=ParamProgramme.ObjectUID
    WHERE
    (RDB.TimeByDay BETWEEN (@DateStart) and (@DateEnd))
    --AND
    --ABD.AssignmentActualWork <> 0
    GROUP BY
    ABD.TimeByDay,
    PUV.ProjectName,
    PUV.[Project  Type.Proje Türü],
    PUV.[Function.Fonksiyon],
    PUV.[Proje Durum],
    PUV.ProjectStartDate,
    PUV.ProjectFinishDate,
    RUV.ResourceUID,
    PUV.ProjectUID,
    RUV.[Role.Rol],
    RUV.[Speciality.Uzmanlık],
    RUV.Rol_KaynakAnalizi,
    RUV.[OutSource Company.Dış Kaynak Firma],
    RUV.[Source.Kaynak],
    PUV.[programme.program],
    RDB.Capacity,
    RUV.ResourceName) AS Temp
    --INNER JOIN
    -- (SELECT ResourceRoleID
    --    FROM
    -- dbo.CF_SQLParameterINOperatorResourceBolum(@ResourceRole)) As ParamResourceRole
    -- ON
    -- (RUV.Role_KaynakAnalizi = ParamResourceRole.ResourceRoleID)
    GROUP BY
    TimeByDay,
    ResourceName,
    ResourceUID,
    ProjectName,
    [Project  Type.Proje Türü],
    [Function.Fonksiyon],
    [Proje Durum],
    ProjectStartDate,
    ProjectFinishDate,
    ProjectUID,
    [Role.Rol],
    [Speciality.Uzmanlık],
    Rol_KaynakAnalizi,
    [OutSource Company.Dış Kaynak Firma],
    [Source.Kaynak],
    Capacity,
    [programme.program]
    END
    RETURN 0

  • Problems After Win 8.1 Upgrade - Two Additional Partitions Both With Same Volume Serial Number?

    An update from Win 8 Pro to Win 8.1 Pro has occurred automatically on one of my machines.
    Prior to the upgrade (from memory) the machine had an OEM Partition (40MB), EFI System Partition (500MB), Recovery Partition (8.17GB) and OS (C:) partition. Only the latter was visible in Computer.
    After the 8.1 upgrade there are two additional partitions, Recovery (500MB) and Recovery (450MB). All the partitions are now displayed in This PC as drives except the 40MB OEM Partition.
    When viewed in This PC both the two new drives (that appear to equate to the new partitions) show as 499MB each with the same amount of free space. In Disk Management the first new partition is shown as 500MB and the second as 450MB.
    I have SugarSync installed on this machine and since the upgrade it is displaying an error telling me it won't work because the two new drives have the same Volume Serial Numbers.
    Clearly something has gone wrong with the upgrade:
    Is there any way to resolve the Volume Serial Number conflict? 
    Is there any way to stop all these drives appearing in This PC?
    Do I need the two new partitions and if not how can I get rid of them?

    There is a fourth path to upgrading to Windows 8.1 provided by Microsoft. Microsoft have been displaying automated reminders from time to time on Windows 8 computers that Windows 8.1 update is available to download - from these reminders it is possible to
    choose either Install or Not Now.  Just recently these reminders have changed, they are instead notifying the user that the Windows 8.1 Update will be installed automatically or the user has options to postpone the installation for 1hr, 2hrs, etc. The
    user of this computer tells me she went away from the machine and Windows 8.1 update installed automatically from one of these prompts.
    I have seen these installation prompts on several of my customer's computers and they are not malware related (I deal with malware removal every day and would recognise this). However, I have scanned this computer with Bit Defender and MalwareBytes and there
    are no infections present.
    The only difference between this Windows 8.1 Update and the others that I have carried out is that it wasn't controlled and therefore I wasn't able to disable the security software (Bit Defender Internet Security 2015). This may be the cause of the problem.
    I've uploaded the two screenshots you asked for - the two new drives are W: and Z: and SugarSync is reporting that they have the same Volume Serial Numbers. Note: X: and Y: were not visible prior to the upgrade.
    There are two Windows Update logs at C:\Windows\ so I will upload both.

  • Using geocode in a map based on a view where two datasets are joined

    Hi,
    I'd like to create a map based on a view in which two datasets are joined, where one of the datasets has a geocode column.
    Unfortunately this is not working... It seems that a custom view where two datasets are joined together where one of them has a geocode column makes the geocode column invisible for the map component.
    The following cases do work but we like to combine them so that we can combine different datasets in Studio without using the Integrator:
    - I can create a custom view in which we join two datasets > the view can be used as a source for different component but not the map component (it seems that the geocode column is not found)
    - I can create a custom view with a geocode column in it and that one can be used as a source for a map
    What I'd like to show is that it is possbile to have one datasets coming from a source system and that it is easy to combine an additional excel sheet with geo-information and maybe another excel sheet with different measures. This should be possible since you can join different datasets together in a custom view.
    Thanks in advance,
    Richard

    Oh sorry, we have two base views and one custom view:
    base view TRIS_Omzet which gets it data from an OBI server and has data like revenue, customer, time, etc.
    base view Endeca_Klanten which gets it data from an excel sheet, this view contains the name of the customer and the geocode of the customer's location
    We created one custom view (Omzet_Geo) where the two base queries are joined together using the following query:
    DEFINE V1 AS SELECT
    "Endeca_Klanten.Klanten" AS Klant,
    "Endeca_Klanten.Coordinaten" AS Coordinaten
    from Endeca_Klanten;
    DEFINE V2 AS SELECT
    "TRIS_Omzet.Naam_Consultant" AS Naam_consultant,
    "TRIS_Omzet.Jaar" AS Jaar,
    "TRIS_Omzet.Jaar_week" AS Jaar_week,
    "TRIS_Omzet.Actual" AS Actual,
    "TRIS_Omzet.Omzet" AS Omzet,
    "TRIS_Omzet.Partij" AS Partij,
    "TRIS_Omzet.Uren" AS Uren
    FROM TRIS_Omzet
    DEFINE Omzet_Geo AS SELECT
    V1.Klant AS Klant,
    V1.Coordinaten AS Coordinaten,
    V2.Naam_consultant AS Naam_consultant,
    V2.Jaar AS Jaar,
    V2.Jaar_week AS Jaar_week,
    sum(V2.Actual) AS Actual,
    sum(V2.Omzet) AS Omzet,
    V2.Partij AS Partij,
    sum(V2.Uren) AS Uren
    from V1
    right join V2
    on (V1.Klant=V2.Partij)
    group by Klant, Coordinaten, Naam_consultant,Jaar,Jaar_week,Partij
    Our view definition in the GUI looks like the following, as shown in the screenshots the datatype of the coordinated column is a Geo column both in the base view and the custom view. However the view still can't be selected to be used as a source for the map component.
    The two base views:
    The custom view:
    regards,
    Richard

  • Two days ago two of the forum I use stopped working as they did. Google Chrome can open these sites without problem. I have checked that Javascript is working. What can I do to get the sites back to the way they were?

    Two days ago two forums I regularly use stopped working properly. One of them is www.mobileread.com, and the main problem is with marking the forums read. The staff there suggested that I check that Javascript is enabled. It is, but the problem remains.
    The other site just looks as though there is no styling on the index page; it just shows a list of links.
    I can use both sites with Google Chrome just as I did before, so it has to be a problem with Firefox.
    There are many other sites I visit, and I have not had the same problem there.

    For the one with a styling problem, see what you have for View > Page Style
    the normal style is default and "No Style" would wipe out styling but in this area it would apply to all pages.
    I don't know of an extension that would selectively turn page styling or off, but look at your extensions.
    Both problems could be caused by filters added to "Adblock Plus" extension.
    Bring up "Open blockable items [Ctrl+Shift+V]" in ADP by right-clicking on the toolbar/addons bar icon or in the add-on's options. See what is being blocked and the filter that is blocking it. You can easily test filters there and turn them on/off and retest. You can see the filter that is blocking an item, you can use the mouse to see where that filter came from. Choices of what columns to display can be made with the little icon to the right of the column headings in the list.
    Attached is a picture of blockable items I see for the www.mobileread.com page. To view a page that you need to view or use, you can try modifying your filters or toggling the "State" column (preferred). You can disable Adblock Plus from the extensions options but that defeats the protection it offers.
    If seems that the problem would be an extension, or a style, or theme.

  • Compare two datasets in crosstab by showing percentage of sales

    I am wanting to compare two datasets in a crosstab chart.
    Basically I have a sales table and a business costs table. 
    My business costs table fields look like this:
    Category
    CostDate
    CategoryCost
    My sales tabel looks like this:
    PartNumber
    SalesDate
    SalesAmount
    In my crosstab I want to group my rows by Category and my columns by Month.
    So that in my summaries I can show sum of category cost and the percent of sales for that particular month.  I can do everything except show percent of sales for that specific month. My sales table has a SalesDate that I will be using to group off of.
    Any ideas on how to do this, I am not sure where to even start. I am still new with crystal reports.
    my sales data
    PartNumber     SalesDate     SalesAmount
    Part1     1/1/2011      $1.00
    Part2     1/1/2011      $1.00
    Part3     1/1/2011      $1.00
    Part4     1/1/2011      $1.00
    Part5     1/1/2011      $1.00
    Part6     1/1/2011      $1.00
    Part7     2/1/2011      $1.00
    Part8     2/1/2011      $1.00
    Part9     2/1/2011      $1.00
    Part10     2/1/2011      $1.00
    Part11     2/1/2011      $1.00
    Part12     2/1/2011      $1.00
    Part13     2/1/2011      $1.00
    My business cost data
    Category     CostDate     CategoryCost
    Office     1/1/2011      $1.00
    Office     2/1/2011      $1.00
    Warehouse     1/1/2011      $1.00
    Warehouse     1/15/2011      $1.00
    Warehouse     2/1/2011      $1.00
    Quality     1/1/2011      $1.00
    Quality     2/1/2011      $1.00
    Quality     2/15/2011      $1.00
    What I want my crosstab to look like
                      Total       |                     1/2011  |                   2/2011     
         Business cost  |  % of Sales  |  Business cost  |  % of Sales |  Business cost  |  % of Sales
    Total  |  $8.00  |  62%  |  $4.00  |  67%  |  $4.00  |  57%
    Office  |        $2.00  |  15%  |  $1.00  |  17%  |  $1.00  |  14%
    Quality  |        $3.00  |  23%  |  $1.00  |  17%  |  $2.00  |  29%
    Warehouse  |  $3.00  |  23%  |  $2.00  |  33%  |  $1.00  |  14%

    Hi Joshua,
    assuming that you have linked your two tables and built a crosstab report:
    In the summary data field you summarize 2 fields
    1. your SUm of Business Cost
    2. your Sum of sales.  -> Edit that summary to show % of the Table field you want to summarize and select by column

  • LaCie 6TB drive ejects when Air sleeps: I use two 6TB LaCie drives - home and office with my Air, which travels with me. Only have a problem with one. Is there a fix?

    LaCie 6TB drive ejects when Air sleeps: I use two 6TB LaCie drives - home and office with my Air, which travels with me between the locations. Only have a problem with one that inappropriately ejects when the Air sleeps (and only sometimes). Is there a fix? I've read others who believe that the problem is with the operating system (I'm using 10.9.2). But my problem suggests that it's with one of the LaCie's. Any suggestions about how to fix?

    Lacie doesnt make HD, thats a Seagate inside the box.
    Is there a fix?
    Yes, get a 4TB max HD,    6TB drives are both new and have known issues,  ...in fact so do most all 4TB drives.
    my problem suggests that it's with one of the LaCie's
    You mean Seagate
    Large external hard drives are great! Large external hard drives are horrible
    It is a common premise that people are overjoyed at the dropping prices per terabyte on external hard drives, and the first thing that enters most peoples minds is "great, I can put all my stuff on one drive,... all of it!" However considerations need to be made in creating a giant single choke point for not mere data loss, but seriously large data loss. If there is at the very least yet another redundant copy, this is fine, otherwise do not consider it whatsoever. Some 3TB and 4TB drives of all mfg. have, at the time of this writing, reliability concerns currently and best recommendation is staying at 2TB drives or less.
    Advantages and disadvantages of larger 3TB and 4TB external drives must be weighed

Maybe you are looking for