Scenario 3 - Different approaches to computing aggregates

In this training you learn two approaches to computing aggregates. In one case, you change the filtering dimension on the Query and then add data of the filtering dimension. In another case, you keep the filtering dimension the same as the targeting dimension and then you add data linked to the filtering (targeting) dimension. Both of these approaches work when computing aggregates. How will your results differ based on the approach that you take?

Currency conversion can be done at two stages.
1. Data Modelling stage
2. Reporting stage
Data Modelling Stage:
*Adv: *
Time taken to have complete data available for reporting is only loading time (background job), so query reporting is very fast, as no calculations at reporting level for currency conversion
Disadv:
If you want to convert to one particular target currency, this approach is preferable but if you want to report at different currencies, you cant convert to all those currencies at modelling side as it leads to huge data in the cubes.
And even this approach is not flexible also, if a new target currency comes to picture, you need to modify the code, load again
Problem with exchange rates also comes into picture here, as at the time of loading you might be considering one exchange rate, at reporting side, if you want to look at data with different exchange rate, its not possible.
Reporting Stage:
Adv:
Can report on any target currency and at any exchange rate by defining calculations at query designer level. This process is flexible enough.
Disadv:
Many calculations at query level might lead to performace issues at runtime.

Similar Messages

  • Why Does my site look different on my computer

    My site, www.aaronapter.com, looks completely different on my computer than when I view it on another computer. It actually looks like my browser is accessing the files from my HD instead of the internet. Any ideas why? I ask because I want to fix some errors on my published site, such as a fonts appearing differently and the spacing of a page being totally messed up. Again, this doesn't happen when I view it on my computer, but it does on others. Any help? I'm using iWeb '08.
    Message was edited by: 2A Batterie

    Is it just fonts? If so, the challenge is that you're using fonts that are only on your system and not others. There's a bit of a tricky fix but it'll force fonts to be graphics.
    I'm not too sure about this approach but it seems simple enough: http://podcast.eusd4kids.org/groups/teacherresources/weblog/a91d4/iWeb__fonts_displayed_asgraphics.html
    This appoarch is a tad trickier but I found it easy:
    http://11mystics.com/2007/09/12/how-can-i-ensure-the-fonts-i-use-will-look-good- on-a-pc/
    In short, go to Applications, control-click on iWeb and choose Show Package Contents. Then open Contents, then Resources, and then double-click on FontMapping.plist. Look for the special font that you're using and change false/ to true/like this:
    <key>AmericanTypewriter</key>
    <dict>
    <key>Generic</key>
    <string>serif</string>
    <key>Image</key>
    <true/> <=== change this from false/ to true/
    <key>Windows</key>
    <string>Courier New</string>

  • Video iPods, USB2, Firewire and older macs - a different approach

    I've been trolling the discussion boards here because I find myself with the same problem many others have noted here: I just bought a family member a Video iPod (5G) for Christmas, I realize they no longer support firewire, only USB2 and I only own an older eMac that has firewire but NOT USB2 and no PCI slots for USB2 cards. I await Christmas with dread when, after opening their gift, they'll want to put content on their new 5G iPod and we'll sit around all day while that happens.
    I'll not get into why Apple dropped firewire from the 5G iPods.
    My different approach is that what is needed is a bridge connector or hub that will bridge a USB2 cable to a firewire port.
    There are a number of combo hubs but these are just 2 hubs in one with each bus (USB2 and firewire) having it's own separate connection back to the host computer. And if you connect the USB cacle back to a host with USB1, System Profiler will tell you rthat your USB2 ports areoperating at "Up to 12 Mb/sec"
    Even the Universal Dock will will not get USB2 speeds out of a mac with USB1 ports. It clearly states, :...allows you to connect your iPod with the cable that came with it."
    I've done a lot of searching and the closest I've come up with is this:
    http://www.gizmodo.com/archives/pixela-pixuvcdu1w-firewire-to-usb-20-bridge-cabl e-016285.php
    but that goes the wrong way. Plus it's expensive ($80 - $90).
    It's designed to connect a firewire equiped DV camcorder to a PC that only has USB2 ports.
    To me this sounds like an opportunity for some of the 3rd party vendors playing in the Apple world (Griffin Technology, Belkin, XtremeMac etc) to fill what is obviously a a major need here. Reading these forums there seem to be many many people that have older Macs without USB2 and 5G iPods.
    We need a USB2 to Firewire bridge connector for all of people with older macs and 5G iPods.
    Someone please help us.
    Bob Jakuc

    Thank you for your response. I mention this in my original post. In fact, I bought one of these thinking it might solve my problem. It doesn't. In effect the D-Link DFB-H7 is 2 hubs in one enclosure. To use the firewire ports you have to attach the D-Link to your computer via a firewire cable. To use the USB2 ports, you have to attach the D-Link to your computer via a USB cable. You can't have a single, unified host connection AND use all the ports on the D-Link. The USB ports on the D-Link aren't even active if you don't connect to your computer via USB.
    I'm upset for two reasons: 1) the D-Link hub advertising isn't explicit about the need to have separate hub to host connections for each bus you want to use and 2) since my eMac only has USB 1.1 ports, the USB2 ports in the D-Link are 'stepped down' to USB 1.1 speeds (12 Mbps).
    I'm also frustrated because I'd add a USB2 cardbus card to my eMac but it looks like the slot over the CD-ROM drive is only for Airport/Airport Extreme cards.
    Does anyone have any info on that? Is the slot over the CD-ROM drive in a 1 GHz eMac a general purpose cardbus/PCMCIA type II slot or is it just for Airport cards?
    Maybe I'll ask over on the discussions for the eMac.
    Thanks again.
    Bob
    Powerbook G4 (Titanium)   Mac OS X (10.4.3)   eMac 1GHz

  • I have my ITunes account on my home Macbook.  Can I log onto my ITunes account from a different Windows-based computer?

    I have my ITunes account on my home Macbook.  Can I log onto my ITunes account from a different Windows-based computer?

    Yes, but your iTunes library won't automatically show up on a different computer; putting it there is a separate process.
    (122714)

  • What are the different approaches to do Fault Handling?

    What are the different approaches to do Fault Handling?

    for uplodig data to non sap we have 2 methodes
    i) if u know bapi u will use lasm
    2) bdc
    but u mentioned so many records isthere
    best thing is u will uplode all record sto al11 using XI interface
    then u have to write bdc / lsmw  program
    beter to go for lsmw before that u will find bapi
    if u will unable to find bapi
    u have to create bapi and use it in lasmw
    ofter that u have schedule the lsmw program as a bockground
    then u have to create a job for it
    and release from sm 37
    then u have to moniter through bd87
    if u want to go through i will help u.
    if it is usefull to u pls give points
    Saimedha

  • Need help with Different approaches to setting variables in a Flash movie in Adobe Flash CS3 Professional Version

    Hi,
    I'm using Adobe Flash CS3 Professional version of Flash
    software,
    I need help and guidance on
    Different approaches to setting variables in a Flash movie,
    what I should do in the fla file, and in the html file.
    Thanks, Gil

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • Retrieve nested LDAP groups independent from the network env. (five different approaches)

    Hi all,
    I want to retrieve a list of nested LDAP groups per user from the Active Directory. I have been searching google for half a day now, but I'm still not sure what approach to use. I have the following requirements:
    * The script/program must run in different network environments (I can't be sure if there is a global catelog or AD DS or AD LDS, etc). I will write my own program.
    * The membership info will be used in combination with directory ACL's and must be as complete as possible (global groups, universal groups, local groups, perhaps different domains). Distribution groups are not really necessary, because they are not used in
    the directory ACL's.
    * It would be nice to support other LDAP implementations than Active Directory using the same code, but that not a hard requirement. I could use another approach to support a different LDAP.
    Now I have figured out five possible approaches (info comes from different sites, please correct me if I'm wrong):
    1) tokengroups attribute:
    - The attribute contains Univeral groups of the forest, global groups from the local domain, domain local groups from the local domain (assuming native mode) and local groups from the local machine.
    - Returns a list of SIDs which will have to be translated to group names
    - The tokenGroups attribute exists on both AD DS and AD LDS
    - For AD DS, the tokenGroups attribute is not present if no GC server is available to evaluate the transitive reverse memberships.
    - quote from site "Now that I have had a chance to test it though I can definitely say that tokenGroups WILL get the Universal groups from the other domains even if is NOT a GC. I just did it in my test lab."
    - Token Groups cannot be retrieved if no Global Catalog is present to retrieve the transitive reverse memberships.
    2) tokenGroupsGlobalAndUniversal
    - A subset of the tokenGroups attribute. Only the global and universal group SIDs are included.
    - If you want consistent results, read tokenGroupsGlobalAndUniversal that will return the same result no matter which DC you are connected to. However, it will not include local groups.
    - other source says "tokenGroups will give you all the security groups this user belongs to, including nested groups and domain users, users, etc tokenGroupsGlobalAndUniversal will include everything from tokenGroups AND distribution groups". Not
    sure if this is correct, I think it doesn't contain local groups.
    - The tokenGroupsGlobalAndUniversal attribute exists on AD DS but not on AD LDS.
    3) LDAP_MATCHING_RULE_IN_CHAIN / 1.2.840.113556.1.4.1941
    - Use a recursive search query which returns all nested groups for user at once.
    - Returns all groups except for the primary group
    - It's a fast approach, see performance test from Richard Mueller:
    http://social.technet.microsoft.com/Forums/fr-FR/f238d2b0-a1d7-48e8-8a60-542e7ccfa2e8/recursive-retrieval-of-all-ad-group-memberships-of-a-user?forum=ITCG
    - It only works on Active Directory, not for other LDAP implementations
    4) Recursive retrieval of the memberOf attribute
    - Retrieves all groups except the primary group. (also local groups from other domains??)
    - works for all LDAP implementations
    - executes a lot of queries to the LDAP, especially if you want to scan all users/groups (perhaps limited on OU, but still)
    5) Store memberOf attribute in local database and calculate the nested groups using recursive queries to the local database
    - No heavy load to the LDAP
    - Needs space to store the user/group info locally (embedded Derby database perhaps)
    - Performs fast since the queries are executed locally
    - Works for all LDAP implementations
    My thoughts on these different approaches:
    * appreach 1) I understand that the tokengroups attribute is not present if no GC server is available. In how many network environments is this the case? This option won't work because I want to support different network environments.
    * approach 2) The tokenGroupsGlobalAndUniversal attribute exists on AD DS but not on AD LDS. Same here, in how many network environments is this the case? I don't think I can rely on this approach.
    * approach 3) Seems to be a good option. How will it perform compared to approach 5 (local recursive queries)? Won't work for other LDAP implementations
    * approach 4) I don't think I want to execute that many queries to the LDAP. I can limit the scan on OU, but still companies can have thousands of users and groups.
    * approach 5) Perhaps the best approach. I want to store user/group info locally for fast filtering / reporting (only group DNs, user names, databse id's and membership info as id-id pairs). I only need the memberOf attribute of users and groups, recursive
    loops are done locally. It will work for all LDAP implementations.
    What do you guys think? I'm not a network admin, but a programmer, so I'm no expert in network setups and when to use AD DS or AD LDS. The thing is I want to use this code at different customers without knowing their network setup (except for the domain name(s),
    LDAP host/port and bind user to connect to LDAP).
    Thanks a lot!
    Paul

    I want to write a tool that can answer questions like "what users from group ABC have delete permission in all the (sub)directories of server MyDataServer?". This results in a list of directories and users and includes nested group membership. So it's about
    effective permissions. That's why I want all information in a SQL database so I can answer these questions with a single query in milliseconds. Otherwise, in order to answer these questions, I would have to get all members from group ABC and determine the
    nested groups for all these members (which can be thousands) for every report. Using a SQL database I can retrieve this information once a night for all the members.
    But I guess I will use the LDAP_MATCHING_RULE_IN_CHAIN syntax which gives me all nested groups for a member and should work for all AD installations from W2K3 SP2 and higher. When I want to support other LDAPs I will use another method for that specific
    LDAP.
    Again - note that this question has nothing to do with LDAP or AD.  It just asks what group has permissions on what resources.
    I really think you would do well to spend time understanding the NTFS and its security along with how we sue security in Windows.  By assuming this has something to do with AD you are making it a bigger issue than needed.  AD is a repository for
    accounts and trusts and manages authentication and security group membership.  All file security is managed by the OS that hosts the files and not by AD.  Users are not normally granted access to resources through direct inclusion in the DACL but
    are given access through membership in one or more groups.  Loading AD into a SQLL database will not help you.
    ¯\_(ツ)_/¯

  • Sync apps are different on my computer from my iPhone

    We have 3 iPod's and my iPhone. The apps on my computer are different than the ones on my iPhone. They are a combination of the wife's and both my sons apps. If I click on SYNC APPS, it tells me that all apps on the iPhone will be lost.
    How can I fix this? Do I need to delete iTunes and reinstall it?

    Which apps?  Where are you downloading from?  Which browser?  Version?
    Please detail ALL you have done so far in the way of troubleshooting?   Need this info to avoid the been there done that scenarios.
    You provided no system details. 
    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which Macbook Pro model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    CLICKY CLICK---> https://discussions.apple.com/docs/DOC-3602
    CLICKY CLICK-----> Help us to help you on these forums

  • How to create a Idoc  after a salesorder is created.(Different approaches.)

    Dear Experts,
    First of all I would like to thank SDN as continuously helping me to deliver  better  and faster.
    My requirement is to generate  a Custom idoc whenever a SalesOrder is created. with net value more then 1,00,000.
    Can u please help me by providing what are the different ways we can do this and which one is the best and easier one.
    If possible provide some sample code also.
    Thanks,
    jeevan

    Hai Thirumulan,
    I think the approaches u suggested going to help me out ..
    Can you pls go into details.
    thx,
    jeevan

  • Parameterized measure type - 2 different approaches

    Hi colleagues,
    I need again your priceless time to discuss the following situation:
    I would like to parametetized the type of measure, or better, the type o calculation applied to a specific measure, i.e., I have only two base measure, Net Sales, and Gross Sales, and then I have different calculations like YTD, Currency Adjusted, Currency
    Adjusted Last Year, EUR Value, EUR Value LY, etc...
    Instead of create a big set of calculated members, I would like to create a measure type dimension instead, and then the user can select want he wants to see. I figured out two different ways:
    1) In the view which feeds the cube, create a data set for every measure type and flag it with the correspondent type and then apply an Union All to join the sets. The big disadvantage for me is, I will multiply the size of this measure group by the number
    of different measure types that I have.
    2) Inside the calculated member formula, use a switch of if-else statement to determine which formula should be apply. My concerns here are related to the performance of this approach.
    Any Idea or comment would be highly appreciated.
    Kind Regards,

    Hi Paul,
        I have implemented the same type of Dimension for my project.  I have used the scoped  assignments for my purpose. With this approach I can differentiate the calculations within the scope of a particular measure.
    Let's say that your Fact table is Sales. I have created a new column in Sales and named it as MeasuresDimKey with default value as 1. I have also created a MeasuresDim dimension like: 
    Create View MeasureszDim as
    Select 1 as ID, 'Actual' as MeasureType
    In dimension usage I have established a relationship between Fact and Dimension table. Then I head back to calculations and created the measures I want as NULL...
    Create member CurrentCube.[MeasuresDim].[MeasuresDim].Measure1 as NULL;
    Scope([MeasuresDim].[MeasuresDim].Measure1);
    Scope(<Other Dimension Members>)
    This=DefaultMember <Actual Member in MeasuresDim Dimension>
    * <Calculation>
    End Scope;
     Please set the IsAggregatable Property to False and Actual member as DefaultMember for the dimension attribute. Scopes worked really well for me and may or may not work for you. Please find the below code for your reference.
    --- Currency Utility Dimension-----------
    Create member CurrentCube.[Currency Conversion].[Currency].[Euro Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[Euro Variable] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[USD Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[USD Variable] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[STG Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[STG Variable] AS NULL;
    Scope([Currency Conversion].[Currency].[Euro Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[1],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[Euro Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[1],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[USD Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    * sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[3],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[USD Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[3],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[STG Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    * sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[2],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[STG Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[2],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Best Regards,
    Venkata Koppula

  • Font name different on another computer

    We have a font that InDesign CS3 is seeing as a different name on just one of four computers. In other words, 3 computers see the name as "My TNTFont" but that one computer is seeing it as "My TNT Font."
    This is a font we created so the name could have changed at some point since it was used on the troublesome computer. I tried deleting all those silly .lst files that Adobe puts all over the place but to no avail.
    Is there some other place where a list of font is being kept or some other thing that InD is reading?
    Thanks for the help,
    Ken

    Well, I found a work around but, alas, Adobe has defeated/deflated me by hiding something, somewhere in which a font name is associated with a font FILEname.
    I decided had to rename ANOTHER font and had the same issues. I was UNABLE to get InDesign to display the new font names (it was a family). I deleted every adobefnt*.lst file I could find as well as the c:\Windows\system32\FNTCACHE.DAT (hoping against hope) but to no avail. InDesign was still showing the old font names.
    Wondering WHAT InD could be looking at, I renamed the font FILE and reloaded the new fonts, opened InDesign, used those fonts (which now showed the correct names!!!) and closed InDesgin. Loading the fonts from a different location did NOT do it, I had to rename the font file. After closing InD, unloading the renamed font files and reloading the original font files, InD saw the names as correct.
    So, somewhere, somehow InD associates font names, with a font FILEnames.
    Just rediculous.
    All the best and thanks for the help.
    Ken

  • Trying to sync iPad saying already synced to different library on computer

    trying to sync ipad
    saying it already synced to different library on my computer
    how ??
    what do i do??? to change libraries

    Hi,
    Thanks for your reply.
    I am an Hardcore fan of Apple productios for their leadership in innovation.
    I was using iTouch previously which doesnt use to behave in this way.
    Having a single all the time with the user is very difficult and not parcticale. I am very much suprised if it was really designed in that way.
    I used several smartphones and none of the smartphone has this kind of problems.
    I am not sure if I had put the question correctly so for your reference, I am inserting an image. Please refer to it.

  • How do I sync tabs if the option is selected but they are still vastly different on each computer?

    I just set up Firefox Sync, and my bookmarks are syncing wonderfully. Unfortunately, the tabs aren't syncing. I tried accessing them in the "history" tab on my new computer, but I don't see my active tabs there, only old tabs.
    "Tabs" are checked off as something I am syncing on both, so I don't think it's a setting issue. Help!

    Hi Adam!
    I understand that you are using "Tabs from other computers" in your History menu. If this is the case and you are still seeing old tabs, make sure that you use the "Sync Now" option before leaving a computer that has tabs that you would like to use in a different one.
    I hope it helps.

  • Sharing Photos: Different Users, Same Computer

    So far, I've tried some suggestions found in other postings, but I still can't share some photo libraries between different users on the same computer. I started an account for my son. Sharing was enabled in both iPhoto Apps. I've tried locating the libraries in a Shared folder and putting them in a folder not associated with a user. Opening a port 8770 in the Sharing/Firewall window didn't change anything either. No matter what, when I open my son's iPhoto and try to Add To Library, some libraries will import and others have a circle with a red line next to them. Those will not import and I can't figure out what the difference is between them. Any thoughts?
    g4 ibook   Mac OS X (10.3.9)  

    Hi chris,
    these are the links I have for sharing. You might want to try the ACL way.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • Two .mac accounts - different calendars - same computer

    I apologize if this has been asked before, but I cannot find it.
    Is it possible to publish calendars to different .mac accounts from the same computer? I have access to two .mac accounts. One is for work, one is for personal uses. I have several calendars for each. How can I publish the work calendars to the work account and the personal calendars to the personal account without changing the .mac system preferences every time?
    Ctd

    Yes, that could work, but I find "fast" user switching to be hardly fast at all. Besides, you would lose immediate access to everything else you are doing just because you want to add something to a calendar.
    Any other ideas out there?
    ctd

Maybe you are looking for