How to do product with sum using DAX

Hi Everyone,
How I can get the Value result using DAX:
Calculation for Value on 3/1/2014: 6*20 + 10*10 + 4*30 = 340 
                                   4/1/2014: 8*30 + 2*10 + 0*40 = 260 .....
so on...
Please reply on this...
Performance of the measure also the big concern

Especially if you are worried of performance issues, you should use Power Query as a tool for preparing your data before loading into your Power Pivot data model.
In this case: Unpivot both tables, join them on Date & Currency code and create a new column: CurrVal(from first table) * CurrVal (from second table). Then group on Date, Sum your new value and ignoare Curr-Columns: There
goes your target value.
Then directly load to PP data model if you’re using 2013.
Imke

Similar Messages

  • How Achieve timedseries calculations with out using AGO And ToDate function

    Hi,,
    1)
    How Achieve timedseries calculations with out using AGO And ToDate functionion
    this question asking in interview ..is it possible..?
    if yes please response as soon as possible..
    2) i have 2 cloumns Product and value...
    client requirement is they need ranks based on Value ..in dashboard .using dashboard prompt..edit box...if user enter any number (ex :5 ) report should show top 5 ranks if he enter 20 should be top 20 ranks..
    how to achive this ?
    thanks,
    raj

    Consider yor first question:
    1. Yes, we can create timeseries measures without using AGO and TODATE
    1. Create ALIAS of fact tabe in the physical layer
    2. Join the Time id from the ALIAS fact table with the YAGO_MONTH_ID column from your time dimension table (For calculating Year Ago variants) similarly join with MAGO_MONTH_ID column for Month Ago measures.
    3.Pull the ALIAS tables as an additional Logical table source in the Lgical layer
    4.Keep the mapping of the columns from the ALIAS table as its is
    5. For e.g If you pick Revenue from the Year Ago Alias table it will give you the "Prior Year Revenue"
    See if this helps you

  • Sum Encrypt does not recognize a copy of a file through linux. How decrypt this file with Sum Encrypt?

    Sum Encrypt does not recognize a copy of a file through linux to Mac 0S9. How decrypt this file with Sum Encrypt?

    Hello, and welcome to Apple Support Communities!
    I am not familiar with the program that you list, however files in OS 9 use things called Resource Forks (rather than file extensions) for filetype and creator.
    If you sent a file through Linux these resource forks probably got stripped and now the file is nothing to your Macintosh.
    It is best to BinHex your files (.hqx) before leaving the HFS file system so that their resource forks are preserved.
    Regards,
    Ryan

  • How can I scan with mavericks using Epsom printer

    How can I scan with mavericks using Epsom printer

    Some users have had success using Image Capture in the Applications folder - although it doesn't seem to work for everybody. Worth a try.

  • How to Integrate XI with Peoplesoft using iWay Adapter

    hi Friends,
            This is Sreeni. I want to use iWay adapter for integrate Peoplesoft with XI.
    can you please help me in this way.

    Hi,
    There is a series of blogs that address this same area. Please look into them. they should surely help,
    /people/yomeshp.sharma/blog/2006/06/01/integrating-jdedwards-system-with-xi-using-iway-adapter-part--i - Part I
    /people/yomeshp.sharma/blog/2006/06/01/integrating-jdedwards-system-with-xi-using-iway-adapter-part--ii - Part II
    /people/yomeshp.sharma/blog/2006/05/31/integrating-jdedwards-system-with-xi-using-iway-adapter-part--iii - Part III
    Regards
    Bhavesh

  • Help with Sum using FormCalc in Livecycle

    Hello. I'm stuck. I've been doing searches, readings, and all that on how to sum up certain cells in Livecycle. I have tried examples and tutorials and I get stuck when the application says "Error: Accessor ' ' Unknown".
    I'm such a novice in using Livecycle and I'm not a programmer. So, if someone can help me on why it does this, that would be awesome!

    Here you go.  I rename it.  Couple of things.  Too many subforms (unless you intend to do something else with this).  Also, make sure you save your forms as "dynamic" if you intend to have user enter info.  I couldn't tell if you were importing/exporting to a spreadsheet.  Note the formcalc.  Your fields need to be named the same.  In my example they are: ExpCosts.
    I'm not very good with the formcalc/java and variables but am more than willing to help with what I can

  • How to sync numbers with dropbox using my ipad

    I use numbers and pages on my mac and want to access and edit those documents on my iPad but the web suggests these products are flawed in terms of no compatibilty with dropbox. If so how do I wirelessly sync changes to documents made on either laptop or iPad. Thank you

    cschwanenberger,
    Are you using Mac OS X 10.7.2 Lion on your computer? It is required to gain full iCloud calendar sync capability.
    If you are using Lion, what calendars do you have listed under the iCal "Calendars" tab? Only data entered under the iCloud category will sync with iCloud. Any data entered under the "On My Mac" category will not sync with iCloud.
    iCloud: Troubleshooting iCloud Calendar may be helpful.

  • How to make changes with HostGator using Iweb

    Hello
    I can not seem to make any changes to my web site created in iWeb on HostGator. Thier IT folks can not seem to figure it out,
    please advise.
    M

    Ps: how do I clear history/etc so I can see any changes ?
    Clear your browser's cache (Command+Option+E for Safari) and reload the page.
    Have you tried publishing to a folder on your hard drive and using a 3rd party FTP client like Cyberduck (free), YummyLite or Transmit.  Many users have found success in uploading with a 3rd party FTP client when they had problems using iWeb.

  • How to poll data with DBAdapter using external sequencing table usecase ?

    Hi,
    When I'm polling for data using the 'update external sequencing table on different db' with a dbadapter, I'm getting this error ORABPEL-09903
    My sequencing table is present in another schema. I created the connection pool and data source for the same and provided it as a credential to the adapter when it asked for data source. But my process is not getting deployed. The complete error it's giving is as below :
    [deployProcess] Deploying process E:\Softys\jdev\jdev\mywork\Test\PollExternal\output\bpel_PollExternal_1.0.jar
    BUILD FAILED
    E:\Softys\jdev\jdev\mywork\Test\PollExternal\build.xml:79: A problem occured while connecting to server "ple-jgau.us.oracle.com" using port "7777": bpel_PollExternal_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "PollExternal", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:370)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1577)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1536)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:886)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 20 seconds
    Any help regarding this would be highly appreciated.Please provide me with any link to the documentation for DBAdapters,Polling and its different Usecases.
    Thanks,
    Bhavya

    Hi there,
    this exception just mentions that the process failed to deploy, but it does not explain why. Could you look at the bpel logs, and find the complete exception stack trace with linked exceptions?
    This is a common trouble shooting problem as the process deployer doesn't show the linked exception. Please look at the best practices guide:
    http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf
    Under DBAdapter there is a section on how to troubleshoot the adapter. Search for "Find the Root Exception". It is on Page 130.
    Thanks
    Steve

  • HOw to compare column with column using JCheckBox

    i have declare 4 JCheckBox which is a,b,c,d
    How to compare this value with the one in the database?

    Hi
    Say myCheckbox is the checkbox I want to test.
    The example below uses its state to query the database:
    String value;
    Statement stmt;
    ResultSet rset;
    value = myCheckbox.isSelected() ? "Y" : "N";
    stmt = conn.createStatement();
    rset = stmt.executeQuery("select column2 from table where column2 = "+value);
    In this case, the database colum is character, with the possibles values of Y or N.
    hth
    Luis Cabral

  • How to send emails with photos using Photoshop Elements 12?

    I did everything according to the instructions, defined e-mail address, got the code and confirmation of the adress, but still when I try to send meile in the end there is symbol that the computer is trying to perform this task, but the minutes passes by, and nothing changes. I have spend a lot of time trying to fix it - with no success. I use Windows 8 and Microsoft OutLook. I have no problems sending other thing. I also have Mozzilla Thunderbird om my computer, but it is synchronised to OutLook (can use both of them, whichever I want).
    I bought Photoshop Elements 12 to send and edit photos. I'm close to that to give up this product, despite the fact that the rest of his functions as a judge very successful. It's great that there is a possibility to get a refund of the purchase of this product for 30 days from the purchase over the internet.
    Please, help me.
    Marcin

    Do you see Adobe Email dialog hidden along the right edge of the screen? Please try dragging that in the middle of screen and then send.
    Thanks
    Andaleeb

  • How can i mess with people using my wifi?

    my airport express is wpa2 and passworded. my neighbors are still using it and hacking it. yes im sure. a buddy said something about viewing the DHCP or something and you can see computers connected.
    i heard of one guy hacking with scripts. where he has one unsecure network and one secure and one of them automatically redirects their pages to kittenwar.
    soo how can i set that up step by step?
    or what can i do to mess with them or get them off?
    can i control or shut down their computer with the connection?
    i could understand them stealing it if it was not passworded. but it is so this means war haha

    The neighbors are pulling your leg unless you have given them the password for your network, or you are using a password that is easy to guess.
    It is a good idea to change your password as well from time to time. Choose a password that is a mix of random numbers and letters.
    i heard of one guy hacking with scripts. where he has one unsecure network and one secure and one of them automatically redirects their pages to kittenwar.
    soo how can i set that up step by step?
    Providing information like this is a violation of the terms of use agreement that we all signed for this support area.

  • How can I. Update with out using a pc ?.

    I need help to upgrate my iPad to use netflix and others add that don't let me to down low need update

    If you are, as your device tags indicate, already on iOS 5, all you need is a WiFi connection. Open the Settings app, select General, and then Software Update. Follow the directions. If you are on a version earlier than 5, you will need a computer with iTunes to upgrade.
    Netflix only requires iOS 4.2. What makes you think you need to upgrade to use it?

  • How to do jaas with out using call back handler classes

    hi
    i successfully executed jaas under weblogic 6.1 now i wanted
    to implement it in our project, for that i wanted to use
    some GUI screens to ask for user name/password and to show error messages
    so my questions are
    1)where i have to call GUI screens in Login module or some where else
    2)if in i am calling in client then i have to pass user name and password to
    login module.
    how can i pass this to loginmodule..?
    3)or what i am thinking is not the properway..?
    thanx in advance

    Hi Nivas,
    You can pass the security credentials via a URL, please refer to http://e-docs.bea.com/wls/docs61/security/prog.html#1043462.
    Regards,
    Richard Wallace
    Senior Developer Relations Engineer
    BEA Support.
    "nivas" <[email protected]> wrote:
    >
    hi
    i successfully executed jaas under weblogic 6.1 now i wanted
    to implement it in our project, for that i wanted to use
    some GUI screens to ask for user name/password and to show error messages
    so my questions are
    1)where i have to call GUI screens in Login module or some where else
    2)if in i am calling in client then i have to pass user name and password
    to
    login module.
    how can i pass this to loginmodule..?
    3)or what i am thinking is not the properway..?
    thanx in advance

  • How can i work with Mysql using socket

    hi
    When i connect through mysql using socket
    then can i send a query to mysql through socket.
    if yes then how
    retrive data which is performed by query
    plz help me
    THANKS

    not like its not possible, but you better refer to JDBC instead of plain socket... its much easier and its already been done...
    google for mysql jdbc tutorial or something...

Maybe you are looking for

  • Ssrs 2008 r2 or ssrs 2012 place moving graphics in report while it is executing

    In a new ssrs 2008 r2 or ssrs 2012 report application, I want to add some graphics to the report(s). I know that you can embedded a graphic in the ssrs report. However I would like to be able to do one or more of the items I am listing below: 1. In o

  • What do you use to directly plug music equip. into Macbook?

    Iv done searches for firewire 2 or 4 channel interfaces. I have some prospects, but just looking for opinions and insight. Any specific products/brands? All im doing is acoustic guitar/keyboard and vocal recordings for my own benefit. So nothing elab

  • Generate E-R diagram for existing Oracle SQL Script

    Hi, We have some existed Packages,Procedures,Functions,Views and Materialized Views. We are planning to generate E-R diagrams for existed codes. Could you please suggest me how can we do the same. we are using Oracle SQL Developer and Oracle Version

  • My 8350 Curve is driving me nuts!

    Here is just a small amount of things my Curve 8350 has been doing: keypad locking up deleting random text, emails, and numbers from call logs texting people the letter 'p'. it also pulled up opera, went to amazon, and searched for 'pppp'. it is NOT

  • Cancel/delete D1341 document

    I want to delete one printer that  doesn't work; I cannot delete its one (Test) document Status="Deleting - Printing". Help. Best regards.