Different aggregate rule for different measures?
Hi.I have an outline with two members in measures dimension:Activity and Profit. Other dimensions including Period,Account,Area,Cost Center etc.The customer require the Activity measure to be aggregated on all dimensions. But as the Profit measure, when Period and Account members are the same, the Profit value on the level 0 member of Area and Cost Center will be either #Missing or an equal number. And the aggregate rule on Area and Cost Center,while Period and Account members are the same, should be to copy one none-missing value(if exists) to the upper level member.For example,if Area has three children:area1,area2,area3. When fixing Period Account and Cost Center,the Profit on area1 is 15,area2 is #missing,area3 is 15. Then the Profit on Area should be 15. So is on the dimension Cost Center.How can I design a formula or a calc script to do it?Thanks!
What I found in Oracle presentation is that in 10GR2 compressed cube enhancements support all aggregation methods except weighted methods (first, last, minimum, maximum and so on). It is from September 2005 so maybe something changed since then.
Regarding your question about the results I think it is caused by the fact that calculation are made on doubles and then there is a compression, so maybe precsion is lost a little bit :(. I really am curious whether it is because of numeric (precision loss) issues.
Similar Messages
-
ACE: Different Sticky rules for different URLs
Is there a way to apply different sticky rules (or no sticky at all) depending on the URL for a given site under ACE?
The reason I want to do this is because I have an extremely common URL that chews up sticky resources when it doesn't matter if the URL is sticky. We have several thousand PC's that have a web based screen saver on them that just pull random pages to be displayed on the users' screen when the screen saver kicks in. These pages do not need to be sticky but other pages on the same farm need sticky. Is this possible?
CaseyCreate a more specific Layer 7 class map and instead of calling sticky serverfarm use serverfarm.
for example
sticky http-cookie COOKIE STATIC
cookie insert browser-expire
timeout 5
serverfarm WEBFARM
serverfarm host WEBFARM
rserver SV1 80
inservice
rserver SV2 80
inservice
class-map match-any APP1-VIP
2 match virtual-address 10.86.178.160 tcp eq http
class-map type http loadbalance match-all Condition1
2 match http url .*
3 match http header Host header-value 172.16.31.*
4 match http header User-Agent header-value .*MSIE.*
class-map type http loadbalance match-all Condition2
2 match http url .*
policy-map type loadbalance first-match L7_COOKIE_STATIC
class Condition2
sticky-serverfarm STATIC
class Condition1
serverfarm WEBFARM
policy-map multi-match CLIENT_VIPS
class APP1-VIP
loadbalance vip inservice
loadbalance policy L7_COOKIE_STATIC
loadbalance vip icmp-reply active
loadbalance vip advertise active
Syed -
[SOLVED] how to use diffrent iptables rules for different ppp account?
x86 plantform run arch linux system , have two network interface etn1 eth0 .eth1 connect to internet. eth0 connect to other terminals through switch. want use different iptables rules for different pppoe account .also want to know how to forbidden more than one terminals established pppoe link use same account at the same time .
Last edited by linuxsir (2013-09-26 06:48:01)(You establish PPPoE sessions over the local network to the Arch machine? Which then routes the traffic?)
first question ,yes that is exactly what i am done. second question i also have a small scripts on windows pc to solve routes traffic problem
route -p delete 0.0.0.0
route -p add 192.168.9.0 mask 255.255.255.0 192.168.9.1
route -p add 0.0.0.0 mask 0.0.0.0 192.168.22.0
but after a while i found scripts is not necessary because windows always attempt to use PPPoE sessions as default internet connection local connection is also ok
and use -i pppX in my iptables rules dose not solve my problem , because same account start PPPoE session could be marked as ppp0 or ppp1. it is hard to identified which account start session. -
Leave Quota generation with diifferent rules for different countries
Hi,
I have the following requirement need help in achieving this.
Employers must grant 10 days paid leave to employees that worked for six consecutive months from the time of hiring and who worked on not less than 80 per cent of all schedule work days. This paid leave may be taken consecutively or separately. Where an employee's application to take paid leave will hinder the normal business operations, the employer may require the employee to take such paid leave at a different time.
The number of days of paid leave available to employees increases in proportion to employees' length of service as set forth in the below table.
Years of Service 0.5 1.5 2.5 3.5 4.5 5.5 6.5+
Paid Holidays 10 11 12 14 16 18 20
The right to annual paid leave expires after two years. In other words, annual paid leave left over from one year may be carried over and taken the next year only. For example, if an employee is awarded 10 days paid leave after their first 6 months of employment; those paid holidays will become invalid after 2.5 years of employment. Use them or lose them.
Simply put, holidays from one year can be carried over to the next year, but not to the third year. So, if you don't take your leave from one particular year within 12 months of that year ending, you will lose that first year's allowance.
Employee can take leave encashment of holiday leave only when leaving their employer. It is not legal for companies to buy up the holiday leave of those still working for the firm.
In my organization one PSG grouping has been used for all countries, it wont be possible to change the grouping now. In such a case how can we provide different rule for different country without customizing the Leave module.
Do we have to use any PCR for this, if yes which??
Regards,
Jailakshmi
Edited by: Jailakshmi on Aug 3, 2011 7:16 AMHi,
Use QUOMO Feature to give different entitilement to employees.
Leave entitlement as per seniority can be configured in base entitlement.
Keep validity and deduction period for 2 years by using :Relative postion" option in validity and deduction period table.
Rgds,
Lata
Rgds, -
How to Define Multiple Notification Rules for Different E-Mail Channels?
In C4C we can define a notification rule for New tickets, for example, that provides an acknowledgement of receiving the customer's e-mail.
This works great for a single support team, but what if we have multiple support teams, each with their own e-mail address, and each with unique requirements for their auto-acknowledgement?
When setting up a new notification rule, there doesn't appear to be any option to define the e-mail channel, service and support team value, or a "from" e-mail address.
We're on-boarding over a dozen e-mail teams, and I'd hate to tell them that they'll all have to share one auto-acknowledgement template from a single do-not-reply address.
Does anyone know if this is possible to:
Define the e-mail channel or service and support team as an condition in the notification rules.
Define the outgoing "from" e-mail address for a notification rule.
Thanks for any insight the community might have!
Mike
T-Mobile USAHi Mike,
As of release 1402, your analysis is correct. The out-of-the-box notification rules do not include the "incoming email channel" as one of fields on which to build condition, and all notifications are sent from a common do-not-reply address.
You can easily overcome the first limitation by using the SDK. For example, when the ticket is created you could set an extension field based on the email channel, and then use the extension field to define different notification rules, using different templates. All extension fields are automatically available to be used as conditions.
Thank you for your feedback and for bringing this item to our attention. We will definitely keep this in mind as we plan for future releases.
Kind regards,
Gabriele Bodda
Product Management -
<i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
Um, there is no such thing as NAS4.1.
I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
AFAIK, you can specify session timeouts on a per user basis. -
Different zoom levels for different clips in the same project?
Hi
I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
kind regards
SorenYou can scale the small clips up to the same size of the larger one... but you will get a quality loss.
Using Motion or Scale to Frame Size commands
Better to scale the large ones down to a Sequence that matches the smaller clip dimensions. -
Different Cost Centers for Different Line Items in a single Reservation
Hello Gurus,
When we create a Material Reservation, we give the cost center at the header level and that cost center is accounted for each of the line items in the reservation. But when the reservation has many line items which depend on different cost centers, there is a need to enter different cost centers for different line items in the same Material Reservation. How can this be done? Please suggest.Hi,
It's a standard restriction in SAP functionality where one reservation document can only accommodate one cost center.
You can not maintain multiple cost centres for individual line items.
You have to create seperate Reservations for each cost centre.
check below thread:
ONE RESERVATION FOR DIFF COST CENTERS
Umakanth R
Edited by: Umakanth R on Dec 8, 2011 7:53 AM -
JTree: How to set different cell editor for different tree Nodes.
I have a JTree and I want to set different cell editors for different node depending on some condition. E.g. I want to set ComboBox as editor for leaf node but each leaf node will have its own set of data.
Any help or pointer?
Thanks in advance
Sachintake there:
http://www.mutualinstrument.com/Easy/FAQ/Tree/tree.html -
So how to specify different answer file for different install images in WDS snap-in?
hello
in WDS snap-in, in properties on server name, on client tab, we can define an answer file for unattended windows installation on WDS clients.
my question is, maybe we have added multiple images in WDS snap-in (win xp image, win 7 , win 2008,...)
now this one answer file applies to all of them ?
so how to specify different answer file for different install images in WDS snap-in?
thanks in advancedUnder the "Client" tab of WDS, you should only use an answer-file with settings relevant for the installation. This would be credentials for the WDS deployment share, international settings used during the setup and possibly also destination drive
details (if you want the installation to take care of partitioning the disk etc). The settings relevant for unattend-files used under "Client" would only be of those in phase 1 (WinPE).
However, if you would like to have specific unattend file for every installation, e.g. Win7, Server 2008, Win 8 etc, you can browse to the image under "Install Images" under the image Groups. There you can select properties for every image and
have a personal unattend-file.
hi Joel
very cool. thanks a lot, that really helped me.
best regards -
Different Number range for different objects
HI Gurus
Could you please explain how can we make different Number range for different objects(O,S,P).Can we do with standards or we can go for UserExit??.
Your early Advise will be appreciated.
Thanks
ChandraHi Chandra,
SM31 -> T77IV : 01S -> Number Range Maintenance.
(or SPRO -> Pers Man -> Org Man -> Basic Settings -> Maintain Number Ranges)
For the subgroups
01C (plan variant 01, Object type C) Job
01O (plan variant 01, Object type O) Org unit
01S (plan variant 01, Object type S) Position
Define the following number ranges respectively.
(EX 60000000 69999999)
(EX 70000000 79999999)
(EX 80000000 89999999)
Regards,
Dilek -
Different mail ID for different workflows
Hi All,
As per my knowledge if we use mail task in work flow a e-mail will be triggered from mail ID maintained for user wf_batch , is there any way to send mail through different mail iD for different workflows by using mail tasks only, not by using a separate task and using some function modules in that to send mails.
Thanks
VinodHi,
I have done this once. It is not the best I admit as many things must be considered, yet it worked.
In the binding of an activity step, prior to the mail send step, I have included the calling to a custom FM.
In this FM I have dinamically changed the mail address of WF-BATCH (the address was set in an ad-hoc paramenter.
Then right after the mail send step, again in the following binding, I have run the very same FM, with different paramenters of course, to put the address back to where it was.
Corrado -
Java.util.logging - different log files for different loggers
I'm having trouble configuring Java logging to use different log files for different loggers.
In log4j, I would do this by configuring multiple loggers each with a different appender. But how can I do this with Java (java.util.logging) logging?
This is the basic idea of what I'd like to do:
com.mycompany.app1.level = FINEST
com.mycompany.app1.<log file> = logfile1.log
com.mycompany.app2.level = ALL
com.mycompany.app2.<log file> = logfile2.log
Any suggestions?This kind of thing?
import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
public class LogTest {
private Logger app1;
private Logger app2;
public LogTest() {
// setup loggers
try {
// first logger
app1 = Logger.getLogger("com.mycompany.app1");
FileHandler filehandler = new FileHandler( "logfile1.log" );
filehandler.setFormatter(new SimpleFormatter());
app1.addHandler(filehandler);
// second logger
app2 = Logger.getLogger("com.mycompany.app2");
filehandler = new FileHandler( "logfile2.log" );
filehandler.setFormatter(new SimpleFormatter());
app2.addHandler(filehandler);
} catch(IOException ioex) {
ioex.printStackTrace();
private void logStuff() {
app1.log(Level.SEVERE, "a message for log 1");
app2.log(Level.SEVERE, "a message for log 2");
app2.log(Level.WARNING, "another message for log 2");
* @param args
public static void main(String[] args) {
new LogTest().logStuff();
} -
Btrfs with different file systems for different mount points?
Hey,
I finally bought a SSD, and I want to format it to f2fs (and fat to boot on UEFI) and install Arch on it, and in my old HDD I intend to have /home and /var and try btrfs on them, but I saw in Arch wiki that btrfs "Cannot use different file systems for different mount points.", it means I cannot have a / in f2fs and a /home in btrfs? What can I do? Better use XFS, ZFS or ext4 (I want the faster one)?
Thanks in advance and sorry my english.pedrofleck wrote:Gosh, what was I thinking, thank you! (I still have a doubt: is btrfs the best option?)
Just a few weeks ago many of us were worrying about massive data loss due to a bug introduced in kernel 3.17 that caused corruption when using snapshots. Because btrfs is under heavy developement, this sort of thing can be expected. That said, I have my entire system running with btrfs. I have 4 volumes, two raid1, a raid0 and a jbod. I also run rsync to an ext4 partition and ntfs. Furthermore I make offline backups as well.
If you use btrfs make sure you have backups and make sure you are ready to use them. Also, make sure you check sum your backups. rsync has the option to use checksums in place of access times to determine what to sync. -
Design: different AP Groups for different SSIDs?!
Imagine I have different requirements for the AP Groups for different SSIDs
I suppose I can't have different AP Groups for different SSIDs?!
Imagine I have to many Clients to use one single VLAN for one SSID. So I will use AP Groups.
For SSIDâXâ
Let's say I have 5 buildings with 800 Users, so I make a AP Group per Building and tell those APs that they are in that group.
For SSIDâYâ
All though I have this SSID also in all 5 buildings, I only have very view Users, so I could make one single VLAN which makes everything easier.
Am I obligated now to create 5 VLANs for SSIDâYâ too?!
*This is a made up example. In reality I would make different numbers of AP Groups for different SSIDs because I have significantly different number of Clients⦠and traffic characteristics (more or less broadcast).
But it's also about the size of the VLANs, do I make a view large Broadcast Domains (VLANs) or more small ones.
Greetings, AndiYou can have a setup like this if you want:
AP Group 1
SSID X Vlan 10
SSID Y Vlan 21
SSID Z Vlan 31
AP Group 2
SSID X Vlan 10
SSID Y Vlan 22
SSID Z Vlan 31
AP Group 3
SSID X Vlan 10
SSID Y Vlan 23
SSID Z Vlan 32
AP Group 4
SSID X Vlan 10
SSID Y Vlan 24
SSID Z Vlan 32
AP Group 5
SSID X Vlan 10
SSID Y Vlan 25
SSID Z Vlan 33
AP Group 6
SSID X Vlan 10
SSID Y Vlan 26
SSID Z Vlan 33
Here is a link, which you probably already saw.
http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml
Maybe you are looking for
-
Web Intelligence: Save Report as PDF and with embedded HTML code
Hi all. Sorry but I'm not able to find any post about this matter, please feel free to provide links if you know existing topics about this problem. We created a beautiful report with HTML5 code embedded into a blank cell and we are now trying to exp
-
How do I convert a document so others can read it
Hi I have sent a couple of documents to others one of which has pictures and text and the other just text, and they have said they can't open it and can i send it in a jpeg format but will that work. Please Advise as to the best way to send out so al
-
Hello, We are trying to write a query that will allow an end user to select a "BOM" number from a selection field, and based on the "BOM" number selected, allow the user to select from the available dates where this BOM has been changed. I wrote the
-
Sending DateField to PHP form handler
I'm having trouble finding a tuturial on sending the variable created by the DateField component to a PHP form. Any help appreciated. Thanks, ziggy
-
Just to calrify, I am running Mac OSX 10.4 and I am trying to sync and brand new Ipad 2 which I did NOT buy from Apple and my I tunes does not recognize the device when I plug in the USB cable. Is this because I need ot downloand OSX 10.5 or higher?