Different expression depending on dimension dragged

Hi,
I need to have a different column physical mapping expression, depending on which dimension the user retrieves.
Example:
I want the Fact logical column "Fact.DOLLARS" map to the physical column:
1. SUM(CASE WHEN Dim1.ColumnA = Dim1.ColumnB then dollars END) --> when the user drags any column from the dimension1
2. SUM(CASE WHEN Dim2.ColumnA = Dim2.ColumnB then dollars END) --> when the user drags any column from the dimension2
Is that posible?
Thanks in advance,
Regards.

I dont think this is possible out of the box since this has to be implemented primarily from the Answers interface. What would happen if both dimension1 and dimension2 are chosen? You can use IndexCol to dynamically vary the columns. You need to write a custom java script which would set the session variable based on what was chosen. But again i would not go there since that would not work in all the situations. What you can do though is create 2 measures like this in BMM. Have a calculation set in such a way that you can identify what was chosen like say multiply by 1000 and check for 3 zeroes at the end for one and multiple by 100 for the other and check for 2 zeroes at the end (just a sample. You would have to find what is suitable depending on your data). Then make a union of these 2 in your report and pivot it. And apply the filter accordingly(like filter the measure that has 2 zeroes at the end based on some presentation variable). But again not out of the box. I would be better of creating these manually in my reports.
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • Navigation from a chart to different reports depending on dimension value

    Hi all,
    Quick question: Imagine you have a bar graph based on a metric displayed for a specific dimension (#items sold by geographical regions). In this case each different bar represents the different dimension value (the different geographical region). I know on clicking a graph, the action can be drill down (if the dimension supports it) or a navigation to another report.
    What i need to do is navigate to another report, and filter that report according to the actual bar ive selected (i.e. in this case im taking to a report with additional detail but only for the region i have clicked on in the bar graph).
    Any ideas?

    In the target report, just set the dimension column as IS PROMPTED. and in the main report chart set the navigation to the target report. thats it, now when ever you click on the value that passes the dimension value to target report.

  • Tabular/DAX calculation sensitive to dimension (dragged) -- is it possible?

    hi All,
    I would like to know if it is possible to create a calculation that will behave differently depending on the dimensions dragged on a grid, basically, I have two date dimensions and depending on which dimension is put on the rows or cols (or both!?) for the
    calculation to behave differently.  
    thx much for any pointers,
    Cos

    Hi Cos,
    Personally, I don't think we can achieve this requirement for your particular scenario.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • RTorrent: move downloads to different directories depending on tracker

    Hi!
    I would like rTorrent to move completed downloads to different directories depending on the trackers in the torrent. An ideal setup for me would be something like this:
    torrents/completed/tracker_x
    torrents/completed/tracker_y
    torrents/completed/tracker_z
    torrents/completed/unknown_trackers
    torrents/incomplete
    torrents/torrent_files
    torrents/session_data
    Any hints/links/etc for me? I think i can make something work if rTorrent could pass the .torrent file path and downloading directory to a bash script

    very lazily copied out my .rtorrentrc
    32 schedule = watch_directory_1,10,10,"load_start=/home/share/media/torrents/foo/*.torrent,d.set_custom1=/home /share/media/video/foo"
    33 schedule = watch_directory_2,10,10,"load_start=/home/share/media/torrents/bar/*.torrent,d.set_custom1=/home/s hare/media/video/bar"
    39 on_finished = move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1="
    there's also this, but i think it doesn't actually move the files; it makes symlinks.
    http://code.google.com/p/pyroscope/wiki … Completion
    Last edited by tladuke (2010-12-12 23:31:40)

  • How to sort two different hierarchies in one dimension

    Does anyone know of a way to sort two different hierarchies in one dimension and still make drilling work correctly? We have two hierarchies in our item dimension; one called category and the other origin. Simplified, it looks like this:
    CATEGORY
    Hardware (100)
    ..PCs (100.100)
    ....PC 1
    ....PC 2
    ....PC 3
    ..Monitors (100.200)
    ....Monitor 1
    ....Monitor 2
    ....Monitor 3
    Software (200)
    ..Big (200.100)
    ....ERP package
    ....CRM package
    ..Small (200.200)
    ....Solitaire
    ....Mine Sweeper
    ORIGIN
    Vendor A (10)
    ..Site A1 (10.10)
    ....ERP package
    ..Site A2 (10.20)
    ....PC 1
    ....Monitor 3
    Vendor B (20)
    ..Site B1 (20.10)
    ....PC 2
    ....PC 3
    ....Monitor 1
    ....Monitor 2
    ....Solitaire
    ....Mine Sweeper
    ..Site B2 (20.20)
    ....CRM package
    We have numeric codes at each level above item which I represents the sort order (the number in parentheses at each level), and the items themselves should be sorted according to item number. I have implemented this (level code/item number) as an attribute in AWM making this the default sort order. However, as item is the lowest level in each hierarchy, I have only been able to list the items under the correct level in one hierarchy. As soon as I drill using the other hierarchy, the levels above item are sorted correctly, but the items appear at very odd places...
    The AWM documentation states that if default order is not selected on any attribute, hierarchies are sorted in the order they are created. Is there a way to control this order?
    Any input will be greatly appreciated!

    Hi,
    thank you for your answer. Yes, now I also find the class CL_SALV_WD_MULTI_CELL_EDITOR which could be used to set different UIE in one cell. But it is quite limited, just the following UIE could be used
    - LinkToAction 
    - LinkToURL    
    - FileDownload 
    - Button       
    - ToggleButton 
    best regards,
    Wenwen

  • Premiere Pro CC and Encoder CC ( 7.1.0 ) produce different outputs dependant on Queue or Export meth

    I have used a standard workflow for many months but recently something has changed. If I create a simple 720x576 sequence with video and then send this to Media encoder I get different results dependant on if I queue or export the sequence. If I export directly from the application then the resulting file is perfect ( MPEG2/QT ) , however if I queue the file and then export the resulting file contains small black vertical bands at either side of the image an the resulting image looks squashed.
    Testing the same workflow in CS6 does not have the issue.
    Has something changed with the latest 7.1.0 release ???
    Can anyone make a simple test and let me know ??
    If you simply queue to the Media encoder and view the window you can see the added bands ??
    I am using MAC OSX 10.7.5 as a platform
    Thanks

    Here you can download the trial they are all the first build (7.0)
    http://prodesigntools.com/adobe-cc-direct-download-links.html
    Updates can be found here:
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform =Windows
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform =Macintosh
    Take from http://forums.adobe.com/thread/1357792?tstart=0
    Also, take care to track down Adobe Media Encoder 7.0 — the installers above don't downgrade AME, and you'll have issues queing projects if you're sending it from Premiere 7.0 to AME 7.2.

  • Show report in different currency depending on user parameter

    hi all,
    i'm trying to show my report in different currency, depending on users given parameter.
    i hold my account balance in USD based. User should select one parameter, in which currency they want to see their account balance. (e.g. EURO, GBP ...) and depending on their selection, i want to convert USD based info into chosen currency, by fetching field from currency table and making some calculation.
    also i want to include in report currency($, £ ...) accordingly ().
    how can i achieve this, has somebody any suggestion to me?
    thanks in advance.
    bogi.

    hi,
    i think i need to explain my problem more detailed. anyone who has suggestion, please help me.
    i have 3 tables account, times and currency.
    - times table has time_key, date, day_of_week fields.
    - account table has - account_balance and time_key_FK fields.
    - currency table has currency_type, amount, time_key_FK fields.
    1. i have function decode(:Currency,'USD',account_balance,'EURO',--here i want to replace my calculation CALC1---)
    CALC1- this calculation need to some calculation like this: account_balance * (fetched field from this sql)(select amount from currency, account where currency.currency_type='EURO' and account.time_key_FK=currency.time_key_FK)
    i tried to do this, but discoverer plus doesn't let me make condition and calc. i'm very confused.
    2. after i achieve this query, somehow i want to display on worksheet on which currency is it based. can i get parameter value, and show this value as in column heading?
    tnx!!!

  • Aperture performs adjustments in a different order depending on file type

    Aperture performs Adjustments in a different order depending on file type.
    Here's an example:
    Starting with two copies of an image, one in RAW format (Canon CRW from a D60), the other in TIFF (opened the .crw file in Preview and exported an 8bit tiff file).
    {The test image is a photo of my copy of Aperture on the floor of my studio (which, for reference, is a few points of Cyan off of a neutral grey).}
    The original Image.
    http://members.arstechnica.com/x/adrien/testRAW_originalImage.jpg
    Adjustments
    http://members.arstechnica.com/x/adrien/adjustments.jpg
    The RAW file adjusted
    http://members.arstechnica.com/x/adrien/testRAW_adjusted.jpg
    The TIFF files adjusted
    http://members.arstechnica.com/x/adrien/testTIFF_adjusted.jpg
    Import both of these files (testRAW.crw & testTIFF.tiff) into Aperture.
    Make adjustments to the RAW and TIFF images:
    - Exposure: Saturation -> 0 (lowest possible value).
    - White Balance: Temp -> 3500K (from 5000K).
    It doesn't matter what order you perform these operations in.
    The RAW file is now a neutral greyscale image. With the Saturation set to 0, the White Balance makes no major difference in the image, it stays grey.
    The TIFF file, however, is now a blue tinted greyscale image - much like a sepia-tone effect. Moving the White Balance slider changes the color of the image.
    It appears that Aperture is performing the Saturation and WB operations in a different order: for the RAW file it first performs the WB, then the saturation; while in the TIFF file it performs the saturation first, then the WB.
    The result is the same for a JPEG image.
    The RAW behavior is the 'expected' behavior in photography - White Balance should happen 'before' the Saturation setting.
    I've filed the bug with Apple (number 4394125 at bugreport.apple.com). hopefully they'll fix this.
    Cross posted from this discussion at the MacAch on ArsTechnica forums:
    http://episteme.arstechnica.com/groupee/forums/a/tpc/f/8300945231/m/893007866731 /r/832001796731#832001796731

    Well, there are different ways of achieving this.
    Solution 1:
    You can create a new output type which will be triggered and call a same driver program and the new smart form. I am sure you can customize as to what Purchasing document type will trigger which output type. Get in touch with someone in the function team to get this configured.
    Solution 2:
    No Customizing, let the configuration be the same, but in the driver program change the value of  "TNAPR-FONAM" immediately after the form entry_neu to the new form name based on the Purchasing document type.

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • Measures depending about dimension time

    Hello!!
    I have one problem about one report, depends of dimension time I can see one measure multiply with, one number depends if I choose Year,Month or Day.
    I put a example:
    I have a prompt in my dashboard, and I want that :
    if user choose one specific year AND Month All choices and day All choices, my measure show me (measure*100)
    if user choose one specific month AND day All choices, my measure show me (measure*50)
    if user choose one specific day, my measure show me (measure)
    I think that if in my prompt I create presentation variables (v_year, v_month and v_day) and in answers page edit my measure like this:
    CASE WHEN @{v_month} = 'All choices' AND @{v_day} = 'All choices' THEN "- Actual"."Nº Cons"*100 ELSE CASE WHEN @{v_month} <> 'All choices' AND @{v_day} = 'All choices' THEN "- Actual"."Nº Cons"*50 ELSE CASE THEN @{v_day} <> 'All choices' THEN "- Actual"."Nº Cons"END
    But I don't know how can I write "All choices". Can u correct my sentence or give another solution about this problem??
    Thank you very much!!!

    Hi,
    You may use the bit_length(presentation_variable) function that returns zero when 'All Choices' o no choice is selected in the prompt. It returns a value greater than zero when a value is selected in the prompt.
    Your case looks like the following:
    CASE WHEN
    *bit_length('@{v_year}') > 0 AND*
    *bit_length('@{v_month}') = 0*
    *AND bit_length('@{v_day}') = 0 THEN "- Actual"."Nº Cons"*100*
    *WHEN bit_length('@{v_month}') > 0*
    *AND bit_length('@{v_day}') = 0*
    THEN "- Actual"."Nº Cons"50*
    *WHEN bit_length('@{v_day}') > 0*
    THEN "- Actual"."Nº Cons" END
    Hope this help,
    Monica

  • Different Data sources for dimensions & Facts

    Hi
    Here is my scenario. For our POC purpose, we are just trying to access dimensions, & Facts from 2 different data sources.
    Dimensions come from db2 and Fact table comes from a different source.
    My question here is did any one faced issues like this ? I am wondering whether i need to join these tables physically in the phyical layer or should i have to take care of them in the BMM Layer.
    Thanks in advance for any of ur ideas

    As mentioned you will need to join across data bases. One thing you will see when you do this is that OBIEE will do a bulk select across those databases then join and filter logically in its own memory process. If you MUST join across databases at least propagate the common dimensions across both databases; that way at least OBIEE can do a semi-filtered grab of the data from each database before it joins the resultsets in memory.

  • IView that displays different things depending on event

    Hi list,
    I need to create an iView that will be receiving different events from other iViews.  This receiving iView will display different things depending on the event (eg. image maps, data sheet, etc).  How should I implement this iView?  Should this iView be multi-component and then the events triggers the correct component?  Or should this iView be multi JSP pages with one component handling the event and calling the correct JSP page?  Or are there any other suggestions/examples out there?
    The image map is not simple either.  It has several hotspots on one image map.
    Thanks in Advance,
    Jovanka

    Hi list,
    I need to create an iView that will be receiving different events from other iViews.  This receiving iView will display different things depending on the event (eg. image maps, data sheet, etc).  How should I implement this iView?  Should this iView be multi-component and then the events triggers the correct component?  Or should this iView be multi JSP pages with one component handling the event and calling the correct JSP page?  Or are there any other suggestions/examples out there?
    The image map is not simple either.  It has several hotspots on one image map.
    Thanks in Advance,
    Jovanka

  • Different levels of a dimension

    I am having problems with measures based on different levels of a dimension.
    The situation is: I have a product dimension with 2 levels (category and detail) and a client dimension. I want a measure with the number of distinct clients wich buys each product (it works fine with count distinct). But I also want a measure with the number of distinct clients wich buys the category of products, wich it's not working.
    I have tried level based measures, but it didn't show the right result. I have changed the aggregate rule for this measure to count distinct, but it shows the same result as the SUM.
    Can I define a custom rule for aggregation based on attributes of another tables?
    Does anyone know a solution for this?

    Luciene,
    Is your requirement to have seperate metric for the category and a seperate metric for the detail level? if so then you can duplicate the count distinct metric and specify the level for the product dimension.( for the category metric it would be at the category level and for the detail metric it would be at the detail level). But on the other hand if you want the same metric to act at different levels, then you don't have to create a level based metric. Pulling the category/detail and the metric would aggregate the metric to the specific level.
    Arjun

  • Different roles depending of URL?

    Hello,
    we want to implement access to our Portal EP 6.0 SP9 from Intranet and Internet.
    User should get different roles depending the URL.
    Example:
    Intranet URL: http://server:50000/irj/portal -> role A
    Internet URL: https://domain.de/portal -> role B
    Reason is security, critical systems are only in role B.
    How can I do that?
    Thanks
    Frank

    Frank,
    my I propose a different approach? I looks as if you want to separate internal users (entering without proxy server) and edxternal users (coming through a proxy). Why not simply create an additional authentication scheme for internal users (probably the higher priviledged ones). Build a custom login module that checks the origin of the user (internal/external, e.g. based on the request's IP address).
    Now, you have two authschemes, say "internal" and "external". Assign "internal" a higher priority value than "external" and assign this authscheme to all critical content.
    Thus, all users that want to access this content, need to pass the "internal" authscheme. Users coming from external willl fail this test and thus can't access the critical content.
    Hope this helps you. If so, please mark this question as closed and reward points. Otherwise give some lines why this is not helpful for you - or if you need further assistance.
    Regards,
    Dominik

  • Using 2 fact tables with different granularity against calendar dimension

    Hello gurus,
    I have a requirement to provide a report to show the consumption of available capacity per month and also YTD.
    I have two fact tables:
    Fact table ‘Capacity’ with columns:
    - Site_id
    - Month_id
    - Capacity
    Ie.
    001, 2010M01, 50
    001, 2010M02, 50
    001, 2010M12, 75
    002, 2010M01, 60
    002, 2010M02, 65
    002, 2010M12, 80
    Etc
    Fact table ‘Consumption’ with columns
    - Site_id
    - Day_id
    - Consumption
    Ie
    001, 20100101, 2
    001, 20100102, 3
    001, 20100131, 1
    001, 20100201, 5
    001, 20100212, 6
    001, 20100228, 4
    Etc
    As can be see above, my ‘Capacity’ table contains monthly volumes, and the ‘Cunsumption’ table contains daily volumes.
    My Calendar dimension is straightforward:
    Year
    Quarter_id
    Month_id
    Day_id
    Ie
    2010, 2010Q1, 2010M01, 20100101
    2010, 2010Q1, 2010M01, 20100102
    2010, 2010Q1, 2010M01, 20100103
    2010, 2010Q1, 2010M01, 20100104
    Etc
    The MfgSite dimension is also simple:
    Site_id
    Site_name
    Group
    These are the steps I have taken sofar:
    - Imported the four tables
    - Created following joins:
         MfgSite.Site_id = Capacity.Site_id
         MfgSite.Site_id = Consumption.Site_id
         Calendar.Month_id = Capacity.Month_id
         Calendar.Day_id = Consumption.Day_id
    - Created Business Model Diagram in BMM
    - Created Calendar hierachy:
         Year, Quarter, Month, Day
    - Created MfgSite hierarchy:
         Group, SiteName
    - Setup Logical Table Source / Content settings as follows:
         Fact table Capacity:
              Dimension MfgSite: Logical Level = Site
              Dimension Calendar: Logical Level = Month
         Fact table Consumption:
              Dimension MfgSite: Logical Level = Site
              Dimension Calendar: Logical Level = Day
    - Set Default Aggregation Rule to Sum on Logical Columns:
    Capacity.Capacity
    Consumption.Consumption
    - Created following YTD Logical Columns:
         YTDCapacity = TODATE(Capacity.Capacity, Calendar.Year)
         YTDConsumption = TODATE(Consumption.Consumption, Calendar.Year)
    - Created Presentaion layer
    I then built a few reports to test it out and found that I have an issue with the Capacity object: When I build a simple report to show capacity per month:
    SiteName, Month, Capacity
    the capacity for each month is multiplied by the number of calendardays in that months, so I get
    Site      Month      Capacity
    001      2010M01      1550 (= 31 x 50)
    001      2010M02     1400 (= 28 x 50)
    Etc
    In addition, when I add YTDCapacity to my report, the report fails with the following message:
    Unable to navigate requested expression: ToDate(Capacity:[DAggr(Capacity.Capacity by [ Calendar.Year, Calendar.Month_id, MfgSite.Site_id, MfgSite.SiteName] )], [Level Year]). Please fix the metadata consistency warnings. (HY000)
    Did I miss any steps? Any help is greatly appreciated!
    Thanks!
    Randall

    hi in the capacity fact table remove the level set for the calendar dim and see.

Maybe you are looking for