Retreiving the last amount billed to a customer (dynamically in the Query)
Hi,
I want to retrieve the last amount billed to a customer.
For example :
r/3 data :
Customer____Billing date__Amount
1___________04/04/2006____5000
1___________05/05/2006____1200
2___________03/04/2006____400
The result i would like to get in the report :
Customer___Amount
1__________1200
2___________400
I tried many ways including Key figures agreg. Exception.
Do you have any suggestion ?
best regards,
ludo
Message was edited by: Ludovic Julen
Message was edited by: Ludovic Julen
Hi,
The date of the data loading has no impact on the selection of the last value. In december, you can load the historical data of 2005, 2004 and 2003. The data will be stamped on 2005, 2004 or 2003 (dates of reference from the documents).
So, in your case, the query would give you the first load as a result of the last value. But you are using 0CALDAY in your example. Of course, you would not be able to use 0CALMONTH in such scenario, because you do not bill only once a month.
Now, please notice that the last value is based as well on the execution of the query. Is your query analyzing all december? Imagine that your query is filtered from 01.12.2006 to 14.12.2006, then you get only the second load.
This is a double setting.
Regards
Laurent
Similar Messages
-
[Solved] Keep the last button pressed with a custom style
Hello,
I have a VBox with 20 buttons and I have this style applied (menu.css) (only for VBox wrapper):
.button:focused {
-fx-background-color: #0768A9;
-fx-text-fill: #FFFFFF;
But when I pressed other button outside the VBox the style disappears, because the other button get the focus.
I'm afraid I'm taking the wrong way.
How I can do to keep the last button pressed with a custom style? (Only for buttons containing the VBox).
Best regardsI created a simple method to change background colors in buttons:
private void setSelectedBtnStyle(Button bboat) {
// Change style oldSelectedBoat
selectedBoat.setStyle("-fx-background-color: white;-fx-text-fill: black;");
// oldSelectedBoat var change to newSelectedBoat
this.selectedBoat = bboat;
// Change style newSelectedBoat
selectedBoat.setStyle("-fx-background-color: #0768A9;-fx-text-fill: #FFFFFF;");;
Surely not the best solution, but it works for me.
Best regards. -
Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx Plz guys anyone can help plzz....I've lost all contact and I dont even have any secondary back up also...!!!
If you've had it for less than a year, then it's still under warranty. Take it to an Apple store or an authorized service facility. See http://support.apple.com/kb/HT1434
-
Firefox no longer loads home page or deletes cookies. I have repeatedly checked both settings and they are correct. It always goes to the last page I was on when I closed the browser .
Go to '''TOOLS''' then''' OPTIONS''' then in '''GENERAL''' panel in '''STARTUP '''session choose '''Show my home page''', then click '''OK''' to save it, exit firefox and restart-it.
see for more info: [https://support.mozilla.org/en-US/kb/Options%20window%20-%20General%20panel Options window - General panel]
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem. -
since the last update to iTunes 11.0.3 (42) the airplay connection is not working properly , keeping breaking up, while the airplay works fine with my iPad and iPhone. Anyone has experienced the same? any fix available?
Hi Erdelestre,
Thanks for visiting Apple Support Communities!
See this article for some tips about troubleshooting AirPlay:
Troubleshooting AirPlay and AirPlay Mirroring
http://support.apple.com/kb/ts4215
Troubleshooting performance issues with AirPlay or AirPlay Mirroring
If you are experiencing intermittent playback or significant network lag with AirPlay or AirPlay Mirroring, it could be due to a weak Wi-Fi connection, interference, or the distance between the Wi-Fi router and your iOS device, Apple TV or AirPort Express. Try the following suggestions:
Ensure that other devices are not trying to stream to the same Apple TV at the same time.
Turn off Bluetooth on your iOS device by tapping Settings > General > Bluetooth.
Ensure that your Wi-Fi router is set up with the recommended settings for the best performance.
Certain external devices, such as microwave ovens and baby monitors, may interfere with a Wi-Fi network. Try moving or disabling these devices.
If possible, try to locate your Wi-Fi router in the same room as your Apple TV and iPhone/iPad.
If your wireless and wired networks are the same, try connecting your Apple TV to the router via Ethernet instead of Wi-Fi.
If the Wi-Fi router has an external antenna, check to see that is it connected properly and in good condition.
Use the Wi-Fi network troubleshooting guide to resolve interference and other issues.
Best,
Jeremy -
I got disconnected after the release of the last update! I'm disconnected only from the app store and itunes. Do i have to update to activate my account? What to do, i'm stuck.
Have you restarted your phone?
If so, try a reset. Press and hold the home & sleep/wake buttons until the screen goes blank, ignoring the power off slider if it comes up.
Check for the app again after the phone starts back up.
~Lyssa -
for the last 6 months my mac is crashing all the time. I think it is safari because firefox works fine. Any suggestions?
What is crashing, is it just Safari or is the entire computer freezing (if that's what you mean by crashing)? If the latter, are you saying it only happens when Safari is open?
You need to explain with more detail just what is happening and when.
Do you get a message to restart? -
i have been trying to download the newest itunes to my windows 7 computer wit the last 2 wks now... im at the stage where iv tried everting from uninstalling itunes to installing it again... can someone please help before i throw the computer out the window!
Here is what worked for me:
My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc. -
I'll ask this again. I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to Flickr (Facebook OK), now I can't get it to authorize, I loaded 3rd party JR plug in and still get can't authorize. Can anybody help? Basically LR is useless, it has been nothing but problems.
It would probably be better to continue your previous thread on the same question than to start a new one.
-
I am Greek. I purchased a film from ipad but for the last days it has not been downloaded and the status is "waiting".the charge has been made to my credit card. Does any body knows?
something other is dowloading somewhere on ipad
-
Hi, my phone was stolen a few days ago and just a few days ago the phone was online and it automatically locked itself since I've put it under lost mode and the thief probably switched off the phone immediately so that I cant locate it. Is it possible for me to have the last known location where he/she turned on the phone so that I can track it down from the last location? Thank you
Correct.
The only way to locate/disable/erase any lost/stolen iPhone/iPod Touch is through Find My Phone or a similar app. However, this requires that Find My Phone be setup/activated, on your phone, before it was lost/stolen. You would then login at iCloud.com & try to locate it. This requires the phone be turned on & have an Internet connection. There is no other way to locate a lost/stolen iPhone. Apple can't/won't help you, nor will your carrier. Report the loss to the Police, your carrier & Insurance company. Change all of your passwords.
If your carrier offers Blacklisting & they Blacklist the phone, it will be unusable as a phone.
If locked with a passcode, and running iOS 7.0, then phone cannot be activated or the passcode removed without knowing your Apple iD/Password. It will be nothing but a useless paperweight.
If not running iOS 7.0, the phone can be forced into recovery mode & restored. -
When I share a video with fcpx and it goes to Quicktime, the last few seconds goes mute. I checked the clip and sent that the same route and all is fine. It is only when I send the whole 3gb video. Any ideas?
paul71054 wrote:
... Any ideas?
add a few seconds black to your project.
Try again.
could be some really weird codec problem, with 'cut' GOPs', .. somethin'... -
How ti find the last date of execution of a bookmark on the portal BW?
Hello,
We need to know the last date of execution of a bookmark on the portal BW?
Thanks for your help.
Best regardsHi,
Please check the below URL for Managing bookmark:
http://help.sap.com/saphelp_nw04/helpdata/en/2d/ce623c1bb4646ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3a/d609e5803111d5992f00508b6b8b11/frameset.htm
Thanks,
Venkat -
Help. I downloaded the OS lion. Then I imported some photos with the "iPhoto". But I see only the photos in the "last import" but I can not see in the library or photos of events, although they are marked as a number.
bioetico wrote:
I understand the problem, why is the date before which the photos.
LN -
Each time I open my Firefox browser, the tab from the last time opens. I have the browser set to open on my home page, not to the tab from the last time. I keep trying to save the setting for the browser to open on my home page but it doesn't.
Try to create a new profile as a test to check if your current profile is causing the problems.
See "Basic Troubleshooting: Make a new profile":
*https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
See:
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
Do a malware check with some malware scanning programs on the Windows computer.<br />
You need to scan with all programs because each program detects different malware.<br />
Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
*http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
*http://www.superantispyware.com/ - SuperAntispyware
*http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
*http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
*http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
You can also do a check for a rootkit infection with TDSSKiller.
*http://support.kaspersky.com/viruses/solutions?qid=208280684
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
Maybe you are looking for
-
I am trying to use the wsimport command the following way and get the following error wsimport -Xauthfile authFile.txt "http://myMachine/reportserver/reportExecution2005.asmx?wsdl" [ERROR] Server returned HTTP response code: 401 for URL: http://myMac
-
Keynote defaulting to PowerPoint
When I try to open a Keynote file, the files always open in PowerPoint even though the default is set to Keynote. How can I make it open each file in the correct program? I've tried to reset the default using the info panel, but it didn't work and th
-
Please help! My wifi just stopped working on my imac. I am getting the message that the wifi has a self- assigned ip address (169.) and will not connect to the internet! Please help..My wifi is working fine with my iphone, ipad and other devices. It
-
Camera coming up as other devices!?
To anyone! I just bought a Creative Live!Cam Optia. It says u just have to plug it in and it works! No drivers needed!! Well mine doesnt work and it is cominp up on my device manager as other devices with a big yellow question mark and when I go into
-
I have Mac book 15. MAC OS X Version 10.5.8 is installed with Windows XP dual boot function. My screen display got hazy and blurred, sometimes it is ok, but only in win xp. I have tried it with external LCD, its worked fine, but second screen is stre