Filter on a dimension with a fact that don't depend on that dimension

Hi experts,
I have a logical column (fact1) that it is set as total for logical level for one dimension (dim1). (it doesn't depend on that dimension but i have to put it in a report next to that dimension).
If I don't filter the report the result is:
dim1 dim2 fact1
a x 1
a y 2
b z 3
b w 4
If I filter the dim1 on 'a' then the result is:
dim1 dim2 fact1
a x 1
a y 2
null z 3
null w 4
I don't want to see those 2 lines with null...
How can I achive that...
Thank you in advance...
Best regards
Nicolae Ancuta

Thank you for your post:
Here are the details:
Phisical layer:
Stores
Products
Suppliers
Stock joins with products and with stores
Purchase Price joins products, stores and suppliers
Sale price joins products and stores
Avg sale per day joins products and stores
BMM:
Dim Stores table
Dim Products table
Dim Suppliers table
Fact stock table with source Stock inner join Sale price inner join Avg sale per day
Fact stock table joins on logical level with Dim Stores and Dim Products
The source table stock has the following mapping on logical level:
detail on - Dim Stores table
detail on - Dim Products table
total on - Dim Suppliers table
Fact stock table has the following fact columns:
Fact stock column total on Dim Suppliers table
Fact sale price column total on Dim Suppliers table
Fact Avg sale per day column total on Dim Suppliers table
Fact Purchase Price table with source Purchase Price
Fact Purchase Price table joins on logical level with Dim Stores and Dim Products and Dim Suppliers
The source table Purchase Price has the following mapping on logical level:
detail on - Dim Stores table
detail on - Dim Products table
detail on - Dim Suppliers table
Fact Purchase Price table has one fact columns: Fact Purchase Price column
The report on Presentation:
Store | Product name | Supplier name | Fact purchase price column | Fact stock column | Fact sale price column | Fact Avg sale per day column
Store 1 | IBM server | IBM corporation | 1000$ | 10 pcs | 2000$ | 0.5 pcs
Store 1 | IBM laptop | IBM corporation | 500$ | 10 pcs | 1000$ | 0.5 pcs
Store 1 | DELL server | DELL corporation | 1500$ | 5 pcs | 2800$ | 0.2 pcs
Store 1 | DELL laptop | DELL corporation | 700$ | 5 pcs | 1200$ | 0.2 pcs
if I filter Supplier name with IBM corporation my results are:
Store 1 | IBM server | IBM corporation | 1000$ | 10 pcs | 2000$ | 0.5 pcs
Store 1 | IBM laptop | IBM corporation | 500$ | 10 pcs | 1000$ | 0.5 pcs
Store 1 | DELL server | null | null | 5 pcs | 2800$ | 0.2 pcs
Store 1 | DELL laptop | null | null | 5 pcs | 1200$ | 0.2 pcs
Regards
Nicolae Ancuta

Similar Messages

  • How to stop Firefox incessantly interrupting my work by trying to install an update incompatible with the Google toolbar which I depend on.that does nor

    Dear Sirs,
    How can I stop Firefox from incessantly interrupting my work by trying to install an update that is incompatible with the Google toolbar which I depend on. Not knowing any better, I trustingly allowed the installation the first time the update notice appeared. It crippled my Internet routines. The toolbars did not work and the bookmarks as well as all the history entries were lost, I have had to reinstall my previous Firefox 4.0.1 and start all over again.

    Hi chib60,
    Sorry you are having so much trouble.
    Dealing with your last comment first ''"Copy and paste the information from Help > Troubleshooting Information." Why? How? This is ridiculous info - it has no logic or sense to it like most of your advice. ''
    If you look to the right you will see a link for 'more system details' that is where such troubleshooting information appears, and it can sometime be helpful.
    I am using firefox on a couple of old XPs without problems. Obviously crashing is not expected behaviour, but please try to think of firefox as two separate parts the basic browser and all the additional software as addons and plugins.
    It may be rather unrewarding trying to track down the cause of a crash using crash information, the best way forward is probably to start using it in[[safe mode]] and with no plugins installed.
    * see also [[basic troubleshooting]]
    If firefox is recommended by your university, why not try it out on one of their computers, presumably it is installed on the university computers available in the library etc, that should at least convince you that it does work.
    I hope the problem is not malware, but if it is all the personal computers you try, a possibility that can not be discounted is that it is some form of malware affecting those computers.
    Have you tried Internet Explorer, that will be installed on your XP by default I imagine, does that work ?

  • Create and deploy reports that don't depend on concrete environment.

    I want to do the following:
    Create a report in my sandbox for using with SCCM 2012 reporting system. Report will show customized hardware inventory information. Then install that report on production environment. Production environment is differ from my sandbox. Different report server
    URL or data source DB name and etc. Only stable part of report is the SQL query and display options.
    Does anyone know how can I achive this?
    Currently I am looking at rs.exe utility but I'm not sure that is a right way.

    You can achieve this using rs.exe
    Datasource name can be made dynamic by using expression based connection strings
    see
    http://blogs.msdn.com/b/johndesch/archive/2012/12/17/using-the-rs-exe-utility-to-deploy-a-report-server-project-and-shared-dataset.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Dimension and fact table with a fact table between them

    Hello all,
    Here is my problem. As seen in the image, I have a fact table linked to the two dimensions.
    I would have the number of Id from Cube_Requirements by variant including 'unknown" variant if no linked variant.
    How is it possible ? How to create the dimension ? As my fact table has two fields, if i want to use reference as dimension usage, it doesn't work.
    Thanks for your help.

    Hi, this looks a many to many relationship scenario, follow these steps:
    - drag extractid from cube_applicability onto measures area, so this table becomes a fact
    - you will have count of Extractid measure after you perform above step
    - Assuming Variant is already a dimension, go into dimension usage tab, link variant dimension with cube_requirement fact using many to many relationship and selecting cube_applicability
    process cube, you should be able to get count of id by dragging and dropiping id from variant dimension..
    Regards
    Rakesh

  • Dimension with two columns In DWH

    Hi all,
    I am new to SSIS. Can i know if it is good model to create the dimension with only two columns i.e the key & the dimension in data warehouse (Eg: Company key, company Name)..
    Thanks
    sush

    Yes no problems with that. But if there are any directly related attributes in another tables which qualifies company entity and is required in analysis it would make sense to include them within same dimension to avoid snowflaking (lookups) like say Company
    Status, CompanyGroup etc
    Its better to have denormalised tables which would have as much related attributes as possible for analytical/reporting purpose. Even in SSAS it would enable facts to be analysed using any of these attributes using a single regular relationship with the
    common unified dimension
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Create prompt with date-filter and initialize it with current date

    Oracle BI 11 g
    Hi!
    I need to create dashboard prompt with date-filter and initialize it with current date. How can I do that?
    I tried to create repository initialization block and add variable. But I don't know what should I write to DataSource? I tried to use functions Now(), Current_Date, sysdate (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed "Test..." button I got errors - something like "Now() is unknown function" or "Incorrect syntax near key word Current_Date".
    After that I tied to use Presentation Variable in Prompt, but also without success ((
    Please, help me.

    I've created Repository Variable "CurrentDate", using SQL-query like this "select convert(varchar(10), getdate(), 104)" and now this variable is being initialized by value "07.04.2011". But I don't understand how to use this varible in DashboardPrompt! What item in list "Default selection" I should choose - "Variable Expression", "Server Variable" or something else? When I chose "Variable Expression" and write "CurrentDate" I got just string "CurrentDate" when preview Prompt. @{CurrentDate} gave me the same result.

  • "Don't allow sites that set removed cookies to set future cookies"

    I'm having a problem shopping and/or logging onto esteelauder.com (a site I have shopped from for years). Their tech folks indicated the problem appears to be with cookies and I should make sure that "Don't allow sites that set removed cookies to set future cookies" is not marked. I cannot find this in FF 3.6.15. I have removed all cookies related to this web site, but the problem still exists. I went to another computer to make sure it was not the web site, and was able to add items to the cart and log on with no problem. I am using a PC with Windows 7. This problem has just shown up in the last couple of weeks and so far only appears to be on this web site.

    * You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.
    * http://kb.mozillazine.org/Cookies
    * http://kb.mozillazine.org/Websites_report_cookies_are_disabled
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case the file cookies.sqlite got corrupted.

  • How to add code in labview exe so that exe don't depend on code

    Hey everybody,
    I am using labview 8.5. I build exe of my code using snapshot folders. After solving conflicts when exe is created. I remove the code from disk but this gives error when exe is executed. I want to build a exe that don't depend on code. I mean i want to get rid of code so that only exe is enough to execute.
    timmy
    Attachments:
    untitled.PNG ‏129 KB

    My main VI is calling many subVIs. Except for these subvis different modules code is present in folders, these folders also include ini files and text based command files. Now when i add these code folders as snapshot and after solving for errors and conflicts. I add these folders to always included section and my main VI as source code. When i build for exe, there is no errors and code exe is generated. This exe works fine if code is present at disk. If i remove the code from disk the exe stops proper execution and gives error. Please tellme if there is any special considerations for making exe that don't depend on code.
    timmy
    Attachments:
    projrct.PNG ‏162 KB
    prjt.PNG ‏154 KB

  • Summary Report with 4 Dimensions and 5 Facts

    Hello OBIEE Czars:
    I have a problem.
    I am trying to make a summary report with 4 Dimensions and 5 Facts.
    Out of that only 2 Dimensions are Confirmed.
    Now when I try to bring in all the facts, I get view display error.
    I searched forum for similar issues.
    So I have tried following so far.
    1) Add other dimensions as source and set level to Total for those dims.
    - After doing this, I dont get view display error, but I get blank rows for couple of facts.
    2) I am already aggregating all the measures.
    Please help me out.
    This forum has been very helpful so far.
    Thanks.
    ~Vinay

    Hi
    This method seems fine until you run a request that includes a filter on an unconformed dimension.
    The SQL itself should be quite straightforward (see below) but the BI Server instance does not seem to be joining this data correctly after posting the 2 separate queries to the database.
    SELECT
    x.dim1, x.dim2
    x.fact1_agg_measure
    y.fact2_agg_measure
    FROM
    SELECT
    dim1, dim2
    SUM(fact1.measure) fact1_agg_measure
    FROM
    dim1,
    dim2, --UNCONFORMED+
    fact1
    WHERE
    .... .... join fact1 to dimensions as normal
    AND dim2 = 'BUSINESS_IDENTFIER'
    GROUP BY
    dim1, dim2
    ) x,
    SELECT
    dim1
    SUM(fact2.measure) fact2_agg_measure
    FROM
    dim1,
    fact2
    WHERE
    .... .... join fact2 to dimensions as normal
    GROUP BY
    dim1
    ) y
    WHERE
    x.dim1 = y.dim1
    The result set returned in Answers is firstly a correctly aggregated record plus ALL rows from the second query above ??
    Just wondering if anyone else has come across this issue?
    cheers
    Tony

  • Oracle Administration Tool (RPD) One Dimension linked with many fact tables

    How to connect One dimension with many table facts in the Lgical level of RPD without having an error about connection between table facts?

    It's not about "linking two catalogs". That's Siebel Marketing stuff. Forget about it. Just create your models and put them in their respective presentation catalogs.
    Whatever you fire from answers will hit that specifc presentation catalog and search its way through the metadata to contruct the query.
    Hence conforming dimensions as a technical concept are definitely the thing you want...not the rpd object type "conformed dimension links".

  • Join fact with another fact like a dimension

    Does it work if I join fact table with another fact table as a dimention(created the dummy hierarchy and add the sum() to the measure existed in the table)?
    If I pick the measure value in the fact table(which is configured like a dim), I will get the correct number? Or multiplied number?
    If there is any good way of work around please let me know
    Thanks
    Edited by: user12077461 on Jun 29, 2011 7:39 PM

    Hi,
    You can create an Alias Table in the Physical Layer for the Fact table which you want to use as a Dimension Table. And start using the Dimension Table. And if you want any measure values to be used from the Fact, then you can extract that too.
    This should simplify your work too.
    Regards
    MuRam

  • One Dimension with Facts at different levels

    I currently have a single dimension with 5 levels. I have two fact tables that both connect to the dimension table but at different levels.
    For example. If we have a Dimension Country -> Region -> City and then two fact tables. One that has facts at the Region level and one that has facts at the City level.
    Is there a way to be able to have an answer that contains facts from both fact tables. So if there was a fact from City and the Region level? Everything I seem to try does not work. Would I have to create an additional aggregate table that aggregates the City level data up to the Region? Or is there a way to show the data at the lowest level and show either nulls or duplicate values for the additional records.
    Any help is greatly appreciated

    This has helped a little. I am now getting values from both levels. However, because i am summing the two values. The value from the upper level is now summing duplicate values. For example.
    Value 1 on its own
    Level1 Level 2 Level 3 Value 1
    1234 10 10 13.05
    1234 20 10 70.00
    1234 20 20 70.00
    1234 30 10 105.00
    1234 30 20 105.00
    Value 2 on its own
    Level1 Level 2 Level 3 Value 2
    1234 10 10 0.50
    1234 20 10 2.00
    1234 20 20 2.00
    1234 30 10 3.00
    1234 30 20 3.00
    What I am getting
    Level1 Level 2 Level 3 Value 1 Value 2
    1234 10 10 13.05 0.50
    1234 20 10 140.00 2.00
    1234 20 20 140.00 2.00
    1234 30 10 210.00 3.00
    1234 30 20 210.00 3.00
    Desired Outcome
    Level1 Level 2 Level 3 Value 1 Value 2
    1234 10 10 13.05 0.50
    1234 20 10 70.00 2.00
    1234 20 20 70.00 2.00
    1234 30 10 105.00 3.00
    1234 30 20 105.00 3.00
    Now, the problem with this is that Value 1 is a fact at Level 2 and Value 2 is a fact at Level 3. I have one dimension table and two fact tables. The join between the fact table for Value two and the dimension table is the same as the join between the dimension table and Value 1 only it is missing the last level of detail.
    I have then set the logical table source content tabs for each fact table to the corresponding levels.
    I thought this would be enough but i still don't get the desired result. I am not sure if this is possible with one dimension table.
    Any ideas would be greatly appreciated.
    Edited by: user10800227 on Jan 11, 2010 12:43 PM

  • Matching a filter value with mutiple fact columns

    Hello,
    I have been given following requirement to implement in OBIEE dashboard. There is a dimension table which stores Sales Rep IDs and their names. Fact table stores the Sales opportunities identified by these sales reps. Now they can work on the opportunity in any role...say as consultant or primary rep or some other role. Lets call it Role1, Role2 and Role3. The requirement is when user selects a Sales rep name in the filter; the dashboard should show all those opportunities on which he worked in any of the capacities i.e.Role1 or 2 or 3.
    My Fact table has following columns
    Role1_Sales_Rep_ID
    Role2_Sales_Rep_ID
    Role3_Sales_Rep_ID
    The Dimension has
    Sales_Rep_ID
    Sales_rep_Name
    I tries putting following condition ion physical layer join
    Dim.Sales_Rep_ID = fact.Role1_Sales_Rep_ID
    Or Dim.Sales_Rep_ID = fact.Role2_Sales_Rep_ID
    Or Dim.Sales_Rep_ID = fact.Role3_Sales_Rep_ID
    but the RPD gives an error saying that Dim.Sale_Rep_ID used more than once. Please help me solve this scenarion or please suggest any alternate solution.
    Thanks,
    Vivek.

    Hi vivek,
    but the RPD gives an error saying that Dim.Sale_Rep_ID used more than once. Please help me solve this scenarion or please suggest any alternate solution. Ya the joins should be established correctly to achieve your scenerio,i.e here oneto many joins sud be established for example
    take the three fact tables role1,role2,role3 and the dimension table first click the dimension table and join it to role1 so it becomes 1:N the same way again click dimension table and click the role2 and repeat the process then you can achieve what you want.
    Another simpler work around is take all the fact tables into single folder/table and the important columns for your requirment.Then now 1 fact and 1 dimension so its simple for you.
    Hope it helps you.
    Best Wishes,
    Kranthi.

  • Advice needed: join fact to time dimension with between clause

    Hi All,
    I've got 1 dimension and two fact tables. The 1 dimension could serve as a time dimension.(not specifically marked as this is a time dimension)
    My Tables look like this (simplified)
    Dim1:
    date_pk (unique identifier)
    date
    month
    year
    fact1:
    iid_date (foreign key to date_pk)
    fact1_amount
    Fact2:
    begin_date
    end_date
    fact2_amount
    In the physical layer i have a complex join between fact 1 and dim1 (date_pk = idd_date) and a complex join between fact2 and dim1 (dim1.date between fact2.begin_date and fact2.end_date and dim1.date <= CURRENT_DATE). In the business model i have complex joins between fact1 and dim1 and a complex join between fact2 and dim1 without further specification.
    What I would like to achieve in Answers is that I select a Year and a Month from dim1 and add fact1_amount and fact2_amount to the same report and that the report shows both amounts. I would like some advice on how to set this up. Further more how to add a drill from year to month to date and what should I do when I'm willing to add more facts joined to the same Dim1
    Any Advice is greatly appreciated
    Gilles

    Hello MMA1709,
    You're right, this setup works!
    But...
    When you add an hierarchy and mark it as a time dimension it doesn't work anymore. It gives the following error in the consistency checker:
    [38086] Physical table Dim1 in the time dimenison table source Dim1 is part of a complex join condition
    And that means you cannot use any timebased calculations (AGO and TODATE). When I just create an hierarchy and do not mark it as a time dimension the hierarchy works well.
    Any suggestions?

  • Resolving loops in a star schema with 5 fact tables and 6 dimension tables

    Hello
    I have a star schema, ie 5 FACT tables and 7 dimension tables, All fact tables share the same dimension tables, some FACT tables share 3 dimesnsions, while other share 5 dimensions.  
    I did adopt the best practices, and as recommended in the book, I tried to resolve them using Context, as it is the recommended option to Alias in a star schema setting.  The contexts are resolved, but I still have loops.  I also cleared the Multiple SQL Statement for each context option, but no luck.  I need to get this resoved ASAP

    Hi Patil,
    It is not clear what exactly is the problem. As a starting point you could set the context up so that it only covers the joins from fact to dimension.
    Fact A, joins Dim 1, Dim 2, Dim 3, and Dim 4
    Fact B, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 5
    Fact C, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 6
    Fact D, joins Dim 1, Dim 2, Dim 3, Dim 4 and Dim 7
    Fact E, joins Dim 1, Dim 2, Dim 4 and Dim 6
    If each of these are contexts are done and just cover the joins from fact to dim then you should be not get loops.
    If you could lay out your joins like above then it may be possible to specify the contexts/aliases that should work.
    Regards
    Alan

Maybe you are looking for

  • Adobe Forms --Amount field Problem

    Hello All, I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is su

  • Trouble downloading updates to CS5

    I had to rebuild my Windows 7 64-bit Dell workstation and reinstall Adobe Master Collection CS5. Tried to install updates using Adobe Application Manager and updates are unable to install. Following error message appears: "There was an error download

  • CRM Worklist: Everything you must know about CRM workflows !

    Hello, I created a wiki page which gives all information about CRM worklist. It gives more insights on how CRM workflows are little different from workflows in another systems, how do we migrate CRM workflows to higher versions like CRM 6.0 and CRM 7

  • List of available "communicons" please?

    ":callme" is cool.  It is demoed in a community video and on a youtube video done by Jabber TME. Where can we find the complete list  of these "communicons" available for various Jabber clients? Thanks 

  • Home button on iPad mini quit working

    The home button on my daughters iPad mini is completely unresponsive. I have tried opening an app holding the quit button then pressing the home button....still nothing. I have also reset all the settings and still no. Any other suggestions? Please??