How to do this in bip

I've a report that has columns like
Item, item_desc, total_sales(qty*unit_cost), tran_date etc
101 apples 20 1-jan-2010
101 apples 50 1-jan-2010
102 oranges 30 2-jan-2010
some thing like this
I want total_sales of a particular item on a particular day like total_sales(20+30)=50 on 1-jan-2010
How to do it
when I use group by item I can see the total sales separately....
and how can I display total sales for a month...
How to do this
Please help

Hi,
You need to create a total variable set to 0
<?xdoxslt:set_variable($_XDOCTX, 'RTotalVar', 0)?>
Inside the 'detail lines' loop (inner loop), accumulate the total. If you want you can put an if condition to calculate total for a particular day
<?xdoxslt:set_variable($_XDOCTX, 'RTotalVar',xdoxslt:get_variable($_XDOCTX, 'RTotalVar') + Amount_ID10)?>
To display the total, use the following code:
<?xdoxslt:get_variable($_XDOCTX, 'RTotalVar')?>

Similar Messages

  • How to create checkboxes in BIP templates?

    I am creating BI Publisher Template for use with Siebel. In the datastream, values for boolean fields are passed as Y or N.
    However if I place a MS Word checkbox object and give the field as the property, nothing happens at all.
    I have tried using conditional sections and Wingdings font to display checked and unchecked icons depending on the value of the flag. But, when report is run in PDF, Wingdings can not be used.
    When exposing the field directly, it populates with "Y" or "N". However, we want checkboxes.
    Any ideas appreciated.

    I have similar issue.
    1) I have copied Wingdng2.ttf file to $BIHome/jdk/jre/lib/fonts/ folder.
    2) I have created xdo.cfg file and configured to use Wingdings 2;82;163 for checkbox display.
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <fonts>
    <truetype path="c:\windows\fonts\WINGDNG2.ttf"/>
    </fonts>
    <properties>
    <property name="rtf-checkbox-glyph">Wingdings 2;82;163</property>
    </properties>
    </config>
    Problem: The checkbox displays fine under English locale, however it is displayed as Rhombus/Diamond under French locale (when .xlf file is used). I am using BIP 10.1.3.4.2.
    Does anyone know how to fix this issue? It looks like the translation of checkbox from english to french is messed up.

  • How to   Pass Parameter from BIP  to Dashboard  Report

    Hi,
    Parameter from BIP to Dashboard Report
    If I select BIP report paremeter should pass value to dashboard report
    thanks in advance.
    CHEERS ,
    Jel

    Hi Saichand,
    I hav gone through above link its passing values from Dashboard prompt to BIP report only..
    just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
    Thanks in advance
    Cheers,
    Jel

  • Ive lost my apple ID for my ipod, now i have an iphone and i want to use the same apple ID for both can someone tell me how to do this

    I have lost my apple ID for my ipod, now ive got a new iphone and i want to use the same ID for both, can anyone one tell me how to do this? ( i no my ID for the iphone)

    Just use the same ID.
    These may alos help:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • I locked myself out of my ipod touch for 60 mins then actually typed the wrong password in again.  Now it is telling me to "connect to itunes".  I am unsure how to do this.  I am unable to use my ipod at all now. Please help.

    Hi,
    Due to my brother locking me out of my ipod touch I had to wait an hour to log in again.  Unfortunately when I did this, I, again put in the wrong password twice more, each time locking me out for a further 60 minutes.  On my 3rd attempt to log in the wrong password was entered again.  This time though instead of logging me out for another 60mins it now tells me to "connect to itunes" but I have no idea how to do this and I am now unable to use my ipod.  Please help.

    See Here  >  http://support.apple.com/kb/HT1212

  • I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem?

    Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance

    Not Charge
    - See:     
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Recently loaded Lion on my laptop and now my computer crashes often. Black screen and keyboard lights up. Any ideas on what's wrong and how to fix this?

    Recently loaded Lion on my laptop and now my computer crashes often. Black screen and keyboard lights up. Any ideas on what's wrong and how to fix this?

    Everytime this happens Ihave to power down and restart! Any ideas would be appreciated!

  • I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's  drop list, anyone has an idea as how to resolve this issue

    I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's  drop list, anyone has an idea as to how to resolve this issue

    I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
    You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
    http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
    I Googled "workaround for FaceTime in UAE" to find this.

  • After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer. Does anyone have any advice on how to fix this issue?

    After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?

    Welcome to the Apple Community.
    Which OS are you using.

  • My iPhone 4 no longer connects to my car or alarm clock after a recent sync to my computer.  The message at I get when trying to. Connect is "this accessory is not optimized for the device" or something like that.  Anyone know how to fix this?

    My iPhone 4 no longer connects to my car or alarm clock after a recent sync to my computer.  The message at I get when trying to. Connect is "this accessory is not optimized for the device" or something like that.  Anyone know how to fix this?

    Hello there philp_69,
    If I understand correctly it sounds like your phone hasnt been recognized in iTunes on your PC since the last couple of updates. I would use the troubleshooting in the following article which will walk you through the steps one by one. 
    iPhone, iPad, or iPod touch not recognized in iTunes for Windows
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • My new iPhone 4S can't connect to iTunes, App Store or iBooks via Wi-Fi. Works with 3G network. How to fix this?

    My new iPhone 4S (week old) can't connect to iTunes, App Store or iBooks via Wi-Fi (and some other apps e.g. Hollister – but most of the other apps like Safari or ebay work fine). There is no problem with those apps loading via 3G network. When I turn off the wi-fi, it runs over 3G and i can access App store without any problem. When i turn off the 3G network and turn the Wi-Fi on, those apps like App Store won't work, other apps work fine. When i turn on both Wi-Fi and 3G, the App store (and so on) is also not working, other apps are.
    I also found out that when the Wi-fi is on and I sign out my apple ID, the App store starts working! But when I log in again, it will imediatelly stop working. I've tried logging in with others apple IDs, still with the same result. There is no problem with my apple ID account, because it works on my iPad, even via Wi-Fi.
    When i first set up my iPhone, there were no complications using App store ia Wi-fi with exactly the same account. I don't know if it has anything to do with it, but this problem started when i logged in with my UK account and then wanted to log back in with my Czech account.
    I tried turning it off, hard reset and deleting my iPhone several time (even without back up). Nothing worked since then.
    Does anyone have any idea how to fix this?
    I would really appreciate ANY help. This porblem is driving me crazy!

    I am also having the same issue. Please help!

  • TS2755 Iphone 4s voice to text messaging has stopped working. Any information on how to correct this?

    Iphone 4s voice to text messaging suddenly stopped working. The little dots that appear while program is preparing to tranfer audio to text shake side to side and no text appear.

    Any ideas on how to fix this problem
    Depends on what the problem is.

  • When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.

    When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.

    Go to System Preferences (under the Apple logo in the menu bar).  Choose "General".  Click "Always close windows when quitting an application".
    That should fix it.

  • Having purchased and installed pages after finishing my 30 day trial I now can't save changes to documents, it keeps saying that my trial is over and I need a serial number?  Never got a serial number, any ideas how to rectify this?

    Hi, having purchased and installed pages after my 30 day trial had finished I am now unable to save any changes to documents I had created in the trial version.  It says I need a serial number, which I never got when I purchased the pages app.  Does anyone kno how to rectify this, I would be very grateful for any help as I'm currently writing up my thesis and am now unable

    Hi, I had the same problem and I found that you don't need a serial number anymore. Here is what I did:
    (1)I went to Applications fodder on my Mac. (You can navigate to the Application folder from 'New Finder Window.')
    (2) Deleted Pages (installed as part of the free  free trial version) from the Applications Folder. Also deleted 'IWorks' from the Applications folder.
    (3) Started AppStore.
    (4) Clicked on  Purchases.
    (5) Clicked on Pages.
    (6) Clicked Install.
    (4) repeated (5) and (6) for Numbers and Keynote

  • I have purchased itunes match but the cloud will not load on my ipad 4.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

Maybe you are looking for

  • Ref Cursors / throwing data into a Ref Cursor as data is fetched

    I was wondering if anyone has executed an SQL statement and as each row is being fetched back from an SQL, doing some data checks and processing to see if the row is valid to return or not, based on the values being fetched in an SQL. For example, I'

  • Re: How to enable NTLM authentication in OSB???

    Hi all, We have the same problem trying to integrate OSB with and asmx service that uses NTLM. We try an alternative, we have created the artifacts of asmx service using wsimport and we created a little java project using these artifacts. We also add

  • When installing acrobat pro

    when installing acrobat pro it cannot install since a version (i am assuming trial) already exists in destination folder

  • Audition Will Not Open

    Audition 5.5 will not open. Get a message window says "Adobe Audition has stopped working." Tried uninstalling and re-installing. No fix. I previously had both version 3 and CS5.5 installed. Will not open from within Premiere or as stand-alone. Versi

  • How to download things to Adobe Download Assistant?

    I read in an adobe community article (link:http://forums.adobe.com/thread/1266865) that to download adobe download assistant you need to click on the trial on the download page of the thing you want to download and then it will open up in the assista