Sequence# vs. Total# vs. Import# in Custom import template

Does anyone know the difference between these in the custom import naming template?

Try this:
Sales:=
SUM( 'PTV FLAT HITLIST'[SALES THS#EUR] )
PY Sales:=
CALCULATE(
[Sales]
, FILTER( ALL( PERIOD[FISCAL YEAR] )
, PERIOD[FISCAL YEAR] = MAX( PERIOD[FISCAL YEAR] ) - 1
Sales vs PY Sales:=
[Sales] / [PY Sales]
This will work if you put PERIOD[MONTH NUMBER] on the rows under PERIOD[FISCAL YEAR].
If you must keep PERIOD[DATE] on the rows, then you'll need to handle this a little differently. PERIOD[DATE]  uniquely identifies a month. This means that with the measures I have suggested above, the filter context will not be cleared from PERIOD[DATE]
and so the filter context of CALCULATE() will be an impossible condition:
On Row Label 2014-03, the filter context will be PERIOD[DATE] = 2014-03 && PERIOD[FISCAL YEAR] = 2013.
If you must keep PERIOD[DATE] as your rowfilter, try this:
Sales:=
SUM( 'PTV FLAT HITLIST'[SALES THS#EUR] )
PY Yr Sales:=
CALCULATE( [Sales]
, FILTER( ALL( PERIOD[FISCAL YEAR] )
, PERIOD[FISCAL YEAR] = MAX( PERIOD[FISCAL YEAR] ) - 1
PY Mo Sales:=
CALCULATE( [Sales]
, FILTER( ALL( PERIOD )
, PERIOD[FISCAL YEAR] = MAX( PERIOD[FISCAL YEAR] ) - 1
&& PERIOD[MONTH NUMBER] = MAX( PERIOD[MONTH NUMBER] )
PY Sales:=
IF( ISFILTERED( PERIOD[DATE] )
, [PY Mo Sales]
, [PY Yr Sales]
Sales vs PY Sales:=
[Sales] / [PY Sales]

Similar Messages

  • Custom importer

    We have a custom importer plugin for premiere CS6.
    We dont save a custom file on disk, but we render the frames demanded by Premiere framework on the fly and return the data in imImportImageRec in imImportImage call.
    1) The sequence when we create a new instance goes like
    imGetPrefs8   - we show a custom entry dialog here - store the result in a global variable which is accessed in imGetInfo8.
    imGetInfo8     - with private data pointer (where we store pointer to our custom class which actually renders the data( based on the variable set in imGetPrefs8 )
    imImportImage - with private data pointer filled in imGetInfo8 - render here based on the frame number received using the private data.
    2) And when we save and load the instance we get a call to imGetInfo8  with the private data( based on which  we create a instance of our custom class to render data)
    and subsequent calls to imImportImage with the private data filled in imGetInfo8.
    3) Now the case comes when we modify the existing instance by double clicking it.
    We get a call to imGetPrefs8  but not  imGetInfo8.
    but we are not able to modify the private data as per user changes done in imGetPrefs8 , as we dont get a call to imGetInfo8.
    So the subsequent calls to imImportImage work with the old private data, hence the changes dont reflect.
    How should we go about it?
    Guide.

    in imGetPrefs8 why don't you check for privateInstance == NULL then create as needed.
    If != NULL call your modification function.
    imGetInfo89 should only populate the selector struct with info from the private data (already allocated by imGetPrefs8).
    I've never looked at the synthetic importer example but this is exactly what you're doing so that should be your starting code to hack on.

  • Importing a Custom Class

    Hi everyone...
    I'm working on one final part of a Flash piece that's ended being quite a bear for me. So looking forward to wrapping it up! I'm a big-time newbie. This has been an amazing learning experience but boy it has made my brain hurt!
    The final issue I'm having invloves importing a custom class that calls a custom application. It's a class/application that I downloaded and am trying to apply to my project. It is an application that adds transform handles around targeted objects.
    I'm importing the class as I think I am supposed to but it doesn't work. There aren't any erros but it simply doesn't work.
    Here's how I'm doing it...
    My .FLA, FloorPlan.FLA, is located in my root folder along with the class file, ApplicationMain.as.
    ApplicationMain.as has an import that imports the application called TransformTool.as. TransformTool.as is located in the root as well.
    So in scenen 1 on frame 1 of FloorPlan.FLA I have an import written like so...
    import ApplicationMain;
    In the file ApplicationMain.as I have an import to grab the file TransformTool.as that is written like so...
    package  {
        import flash.display.MovieClip;
        import flash.geom.Rectangle;
        import flash.events.MouseEvent;
        import TransformTool;
        public class ApplicationMain extends MovieClip
            private var _transformTool;
            public function ApplicationMain ()
                _transformTool = new TransformTool();           
                _transformTool.mode = TransformTool.ROTATE;
                _transformTool.iconScale = new HandleHintScale();         
                _transformTool.iconRotate = new HandleHintRotate();
                // _transformTool.boundaries = new Rectangle(50, 50, 475, 260);
                addChild(_transformTool);
            // register targets //   
                _transformTool.targets = [content_MC.e1, content_MC.e2, content_MC.e3, content_MC.e4, content_MC.f1, content_MC.f2, content_MC.f3, content_MC.f4, content_MC.f5, content_MC.f6, content_MC.f7, content_MC.f8];
                _transformTool.activeTarget = content_MC.f8;
            // register radio buttons //   
                  // radio1.addEventListener(MouseEvent.CLICK, changeToolMode);
              //  radio2.addEventListener(MouseEvent.CLICK, changeToolMode);             
            private function changeToolMode(evt:MouseEvent):void
                _transformTool.mode = evt.currentTarget.label.toLowerCase();
    Everything but this class/application is working just fine. It doesn't cause any erros and make other items not function. It simply isn't working. And I had it working at the very beginning of the project so I know its not the class/application files causing the problem; other than possible path issues.
    I'm stumped, yet again! 
    Thanks in advance for your help!

    HandleHintScale and HandleHintRotate are movie clips in the library of the .fla

  • Cannot Change Custom Import Settings For AAC's

    Last night I changed the custom import settings from 192 kbps to 160 kbps for a particular mp3 album I wanted to convert with that bitrate. I tried to change the custom settings back to 192 kbps (the bitrate most of my mp3's & wma's are in). For some reason, the window that came up many times before refuses to pop up now. I tried the custom settings for mp3's and that window still pops up. Anyway, I tried a repair and nothing happened. I uninstalled iTunes, Quicktime, Bonjour, and Apple Software Updates, deleted there corresponding folders in C:/Program Files and then restarted the computer. I downloaded the iTunes 9 installer through the iTunes website and proceeded to reinstall iTunes. Still, the problem exists. I'm not sure what else to do? The only other thing I can think of is to do the same except install iTunes 8 instead and then search for updates and reinstall iTunes 9 that way. Would anyone know of any other method on solving my problem? Any help would be greatly appreciated, thanks!

    glenn,
    I have the same problem and it is driving me crazy. If you find a solution please email me at [email protected]
    thanks and good luck

  • Auditing a Custom Import package

    We are having issues with BPC data auditing on a custom import package.  We are using the convert and dump load tasks just like in the standard import package.  The difference is that we have those surrounded by other SSIS tasks to perform other pieces of the import process.  The specific issue is that when we look at the detailed audit data, we are not seeing all of the records from our custom import.  We usually see that the import package took place, but we also usually see only a small fraction (if any) of the actual records that were posted (and which we can see in BPC) in the audit.
    My first question is, does the "Data Manager Import" option under the audit settings work with custom import packages using the convert and dump load tasks, or is it exclusive to the standard import package?  Secondly, if it does work with custom import packages, what might be some causes and/or resolutions to this issue?

    Just an update on the two issues that we are seeing...
    First, I have tested the standard Import and the Append into Fact Table packages, and both are audited correctly and completely.  This is important because our import package utilizes both of these styles of import.  One set of data is transactional, so it is loaded similar to the Append into Fact Table package.  The other set is a merge style import, so it is very similar to the standard import.  I see all records in the AuditDataFincance table in the Extra database for both of these packages.  This would lead me to believe that we are seeing some interference either between these two dump load tasks in the same package or some other SSIS package.  It is important to note that these dump load tasks are wrapped in foreach loops to pickup all files in a directory.  Looking at the package, my guess would be that either having two dump load tasks or having said tasks wrapped in a foreach loop would probably be the culprit.  My next step will be to strip the package down to test just these pieces.  Does anyone know if either of these would cause an issue with auditing?
    Secondly, I stated that we are not seeing the temp audit files in the STAGED or LOADED folders, which is making it more difficult to debug this issue.  After testing several packages, I noticed that the standard import and clear packages audit correctly, but they never create files in the STAGED or LOADED folders.  However, the Append into Fact Table package DOES create these files.  What I noticed in the AuditHdrFinance table in the Extra database was that the StagingCode values for these packages were different before they were loaded.  A value of 0 signifies that the package has already been loaded.  Append into Fact Table had a value of 1, which appears to signify that an audit file is waiting to be loaded in the STAGED directory.  The others had a value of 2, which I am guessing signifies that they are currently being staged in memory or some other location.  Does anyone have any information on what the different StagingCode values signify and why different packages have different codes?

  • Custom Import settings (MP3) not working?

    I downloaded itunes today having read the help guides that I could d/l files in MP3 format. I changed the custom import settings as per the help guide and purchased music - only to find the downloads are still in m4p format & as such are no good for my mp3 player.
    Right clicking & converting doesn't work as they are protected.
    I am hoping this is just an error on the custom set up on my part, but reading this forum I did read about protected and Plus purchases, which I did not see in the help guide before I bought the music.
    So, my question is: can the protected files be downloaded with the customized MP3 encoder settings or am I completely limited to Plus purchases?
    Thanks!

    The import setting have no effect on store downloads, all iTunes store downloads are AAC (MP4). The import settings are used to convert the songs imported from CD or to convert unprotected songs in iTunes, not for choosing a format to download song from the store.
    You can't convert standard iTunes copy protected songs, only the iTunes Plus purchases can be directly converted to another format. Where possible if you need to convert you should go for iTunes Plus tracks. The only thing you can do with standard songs apart from playing them in iTunes or on an iPod/iPhone is burn them to Audio CD. You can use that CD just like any regular one. If you need songs that will play on a non Apple player you'd be better looking around for other stores that provide unprotected MP3 downloads.

  • Importing a custom class error

    In my testDB.jsp as follows,
    <body>
    <%@ page language="java" import="java.sql.*" %>
    <%@ page import="DBConn" %>
    <%
    DBConn DBConn1 = new DBConn();
    out.print("bean test:" + DBConn1.test_bean());
    %>
    </body >
    </html >
    I imported a custom class DBConn
    DBConn.java
    import java.sql.*;
    public class DBConn
    public DBConn()
    public static int test_bean()
    return 1;
    Running on AS side. Encountered an error:
    Request URI:/gis/class/testDB.jsp
    Exception:
    java.lang.NoSuchMethodError: DBConn: method test_bean()I not found
    at gis.class._testDB._jspService(_testDB.java:63)
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code
    Knowing that DBConn.class was included in the CLASSPATH
    Thanks for any advice!

    HandleHintScale and HandleHintRotate are movie clips in the library of the .fla

  • Duplicate command is not working for custom importer

    Hi All,
    I am working on a custom importer plugin. Basic features are working fine, but, I'm facing an issue with Duplicate functionality.
    I added a new custom importer clip to project and created a duplicate of that clip (by right clicking the clip in Project window and selecting Duplicate from pop-up menu). Then I added both clip instances to timeline. Now, if I change properties of one clip instance it reflects in both clips. I noticed that both ClipIds are same and they are referring to same media path. I also observed the same behavior in SDK_Custom_importer sample. But, built in 'Color Matte' and 'Title' clips works fine.
    As per my understanding, Duplicate command should create a new clip from existing clip and new clip should be independent of original clip after creation.
    How to fix this issue? Is there any selector that I should handle to support Duplicate functionality?
    Thanks & Regards,
    Chandan

    Hi Chandan,
    The Color Matte and Title clips are not quite the same as your custom importer example.  Those are synthetic clips, without a file reference on disk.  If you exported a title to a file on disk, and then reimported it, and duplicated it so that there were two clips in the Project panel that reference the same file on disk, I think you would have the same behavior as what you're seeing with your custom importer.  Duplicate doesn't create a new file on disk.  The user would need to do that manually, and then import the new file.
    Regards,
    Zac

  • Custom import

    HI, I'm newbee in coding In Lightroom, and need to design a custom import to import photo automatic in Lightroom. I has coded a few code below using SDK 3.0. I would like to get help from your guys a fews things:
    1) It's the code below is the right way to begin?
    2) and I also got the error: the path is invalid, og miss when i calling catalog:addPhoto().
    I'm very thankfully for help from you guys.
    -- Lightroom API
    local catalog = import 'LrApplication'.activeCatalog()
    local path  = 'C:\\Users\\dev\\Desktop\\Test\\Picture\\camera.jpg'
    local LrFileUtils = import 'LrFileUtils'
    local LrPathUtils = import 'LrPathUtils'
    local LrTask =  import 'LrTasks'
    -- Add photo to catalog
    catalog:withWriteAccessDo("writeAccess", function(context)
            --syncablePhotos = catalog:getAllPhotos()
            local lrphoto = catalog.addPhoto(path)
    end)
    -- Code below is just for Test
    local LrDialogs = import 'LrDialogs'
    MyHWExportItem = {}
    function MyHWExportItem.showModalDialog()
        -- body of funtion
        --LrDialogs.message( "ExportMenuItem Selected", "Hello plugins!", "info" )
        if LrPathUtils.leafName(path) then
            local l = LrPathUtils.leafName( path)
            LrDialogs.message("ExportMenuItem Selected", l, "AtutoImportExport")
        else
            LrDialogs.message("ExportMenuItem Selected", "file not found ", "AtutoImportExport")
        end
    end
    MyHWExportItem.showModalDialog()

    Hi Matt, I'm so happy for your help, thanks a lot, and as you said, and the error is now gone, yeahh!!.   But a new error appear right after that, what is wrong?
    Here is my code so far:
    -- Lightroom API
    --local LrFolfder = import 'LrFolder' -- Creating an folder object
    local catalog = import 'LrApplication'.activeCatalog()
    local path  = 'C:\\Users\\dev\\Desktop\\Test\\Picture\\camera.jpg'
    local LrFileUtils = import 'LrFileUtils'
    local LrPathUtils = import 'LrPathUtils'
    local LrTasks =  import 'LrTasks'
    local LrDialogs = import 'LrDialogs'
    -- Export to a folder
    -- Code below is just for Test
    AddPhoto = {}
    function AddPhoto.showModalDialog()
        -- body of funtion
        --LrDialogs.message( "ExportMenuItem Selected", "Hello plugins!", "info" )
        -- logger:trace( "updateStatus() is executing." )
        LrTasks.startAsyncTask( function()
            --Add photo to catalog
                catalog:withWriteAccessDo("writeAccess", function(context)
                    --local syncablePhotos = catalog:getAllPhotos()
                    local lrphoto = catalog:addPhoto(path){}
                    --local folders = catalog:getFolders()
            end)
        end)
        if LrPathUtils.leafName(path) then
             local l = LrPathUtils.leafName( path)
             LrDialogs.message("ExportMenuItem Selected", l, "AtutoImportExport")
         else
             LrDialogs.message("ExportMenuItem Selected", "file not found ", "AtutoImportExport")
        end
    end
    AddPhoto.showModalDialog()

  • API needed to import the customer PAN No, TAN NO in the India Localization

    Hi,
    We need to import the customer PAN No, TAN NO and etc.., in the India Localization (Additional Information).
    Please assist me, is there any API available to import the above details.
    If any, please provide me the API Name ASAP.
    Regards
    Suresh

    Are you using (party or person) flexfields for PAN / TAN ?..
    if yes you can use the standard hz_party_v2pub.create_person API by passing ATTRIBTUE1 , 2,3 columns you can populate corresponding field for PAN / TAN

  • MDG File Import for Custom Object

    Hello Experts,
    We are in MDG 6.1 and trying to implement the File import for custom object. Basically the idea is used to DTIMPORT transaction.Apart from the configurations in MDGIMG, What are the classes that has to be implemented? Can anyone share some info on this.
    Thanks

    Hi,
    After seeing this thread, i rechecked my POD. Email Id is not there.  Did you find any solution or explanation why it is not there?

  • Importing/using custom package

    Hello all,
    I've been having trouble find a solution (likely because I'm not sure how to properly word this question, so bear with me).
    FYI, I'm not really sure what I need to do here... this is a gap in my Java knowledge.
    I've written a custom class with a static method that I'd like to use in other programs. In trying to figure out how to do this, I've reviewed sections of the Sun tutorials including Packages. I've created a custom lib folder and I've added it to my system CLASSPATH. I'm using Eclipse and when I try to import my custom package, it recognizes the package subfolders I have nested in the lib folder, but I get errors stating the package cannot be resolved. What do I need to place in this custom folder? .class file? .jar file? I have tried both From what I can tell, Eclipse recognizes it as a valid location (path-wise), but something's not, hence the error.
    I've done some searching on the forums and web, but I haven't come up with anything... again, because I'm not really sure what exact keywords to search for.
    Can anyone give me some ideas, or point me to specific documentation/threads relating to this?
    Thanks!

    Thok wrote:
    kajbj wrote:
    Eclipse ignores the system classpath. You should instead configure the classpath for your project.
    KajAh, that explains it. Okay, that worked; I added the custom code as an external jar in the build path and it works. Is this the recommended method, or is there a "preferred" way? Or does it matter at all?
    It's the way that Eclipse wants to see it.
    Every IDE is a variation on that theme.
    App servers all want to see CLASSPATH their way, too.
    The one thing they all have in common is that they ignore a system CLASSPATH environment variable. I don't have one, because it's pretty much useless.
    %

  • "No active legal regulations found for country US "  while trying to create the Customs Import Declaration

    Dear Experts,
    As part of creating Customs Import Declaration manually, when I selected the FTO and try to use create button I am getting error message .
    Can you please help me in this regard .
    No active legal regulations found for country US
    Ram

    Hi Ram,
    As the error message straight away tells , you need to activate Legal Regulation for Customs Management ( in standard case, it will be ACE) for US country through the below path:
    SPRO-->SAP Global Trade Services-->Customs Management-->Activate Leagl Regulation for Customs Management at Country/Country Group level
    In case of any further queries, please let me know it.
    Regards,
    Aman

  • Custom Importer Issue

    Hi All,
    I am using Premiere Pro CS4 SDK and Premiere Pro CS4 trial version to create a custom importer. I tried SDK_Custom_Importer sample and my issue is -
    When I select File->New->SDK Custom Import... the .sdkc file created during imGetPrefs8 is not listed in the Project panel. But the entry shows up if I select the same file from File->Import dialog.
    How do I make sure the file is added even when I select File->New->SDK Custom Import?
    Thanks,
    Chandan

    Hi Chandan,
    The Color Matte and Title clips are not quite the same as your custom importer example.  Those are synthetic clips, without a file reference on disk.  If you exported a title to a file on disk, and then reimported it, and duplicated it so that there were two clips in the Project panel that reference the same file on disk, I think you would have the same behavior as what you're seeing with your custom importer.  Duplicate doesn't create a new file on disk.  The user would need to do that manually, and then import the new file.
    Regards,
    Zac

  • MDM 5.5 SP02 Error during import of Customer Data

    Hello,
    I am a beginner in MDM 5.5.
    I tried to import the customer data via the import manager. I got the error message:
    <b>" E1KNA1M wasn't found in the source "</b>
    What's wrong with this repository ? I used the DEBMDM06 for extraction out of an R/3 4.7. The XML-file includes this segment !
    Can someone help me ?
    Thanks in advance.
    Michael

    Ronen,
    Thanks for quick response.
    Let me fill you in with the my environment info. I am using MDM SP 02 with SQL Server on Windows XP.
    I am following the SAP NetWeaver MDM 5.5 SP02
    Scenario Configuration Guide to import customer Data from R/3 to MDM repository via XI, idoc.
    According to guide I was able to extract the Customer data from R/3, and using XI (and FTP) I was able to get the data file customer.dat (which is in XML format).
    In console I tried to setup the client system as a you specified, but here is what I see in my MDM console
    Name: MDC (R/3 4.6 DEBMDM05)
    Code: MDC (R/3 4.6 DEBMDM05)
    Client System:  Import [ for this field it shows me Import, Export, Import/Export options only and not the inbound/outbound as you specified]. If I select option Import then only it will show this Client System while defining the Port.
    For port definition it shows following fields
    [Port]
    Name : R3Import
    Code : R3Import
    Type : Inbound
    Data Definition:  [ dropdown options are Access, Excel, XML, Flat Text, XML Schema. Were you referring this field as the 'Format' field.]
    XML Schema: I selected DEBMDM05 from dropdown.
    Client System : MDC (R/3 4.6 DEBMDM05)
    Map:  [ dropdown does not have any values to select and I can not type in that field]
    If you are still with me, what are the correct settings for Client system and port?
    How those settings are being used in Import Manager?
    On Connect to Source dialogue screen what should I select/enter for following fields?
    Type :  [options are Access, Excel, ODBC, Oracle, Port, SQL Server, XML, XML Schema]
    Should I be using Client System and Port or  XML/XML Schema????
    Client System: MDC (R/3 4.6 DEBMDM05)
    Port :  [ Why this value 'R3Import' is grayed out??? ]
    Please help.
    Abhay

Maybe you are looking for

  • Creating html email with apple's mail

    How do i get an html page (created in Dreamweaver) to show up in apple's mail window? I want the html page to display. If I just attach the html file all I get is an icon of the file not the look of the html file (ie with background color and placed

  • How to make boot up faster?

    Hi guys. Is there a way to check out all of the processes of my Mac book pro is running on start up? Perhaps I would like to turn some of them off and I don't need all of them to load on boot and stay running. is there a way to view these processes o

  • Price of Photoshop Elements for a non-profit charity

    Hello, I am interested in getting Photoshop for a Uk-based charity, and wondered what their options are. They cannot afford the monthly subscription to Photoshop & Lightroom that is currently on offer and I wondered if you had any fantastic offers fo

  • How to add a URL link to text

    I need t add a URL link to a word but have not bee able to locate this option, and the usual CTRL + K isn't working. Thanks!

  • TOSLINK/SPDIF optical digital out problem

    Dunno what the problem is here. I've used a mini-Toslink adapter and cable to successfully send a digital signal to my amplifier with my Macbook Pro and a previous iMac G5 iSight, but recently failed to do the same with my new 24" iMac. The red light