Using measures of Dimension - COUNTY, etc... in fact results

All,

I'm running on a question that I guess is relatively simple if you know what you're doing, but I can't seem to do things. I am trying to include some counts of my Dimensions alongside my fact table measures.

For this I installed my Dimensions and the facts that I need the census to. In a simple example, I have:

EVENT_FACT
Timestamp
ID of the user
Building ID
Type of event
existing measurement = number of events

USER_BUILDING_DIM
ID of the user
Building ID
Type of building

USER_BUILDER_DIM contains a record for each user and the building, they are contained in a type. Users can exist in several buildings, so this table key is the user Id, and building ID.

When I run a query of the FACT table, I want to show the total number of distinct users in this construction next to each result. To do this, I did the following:
1. install the USER_BUILDING_DIM as a fact in my MDB, the only table that joins to the fact table is the USER_BUILDING_DIM itself
2. in the hierarchy of USER_BUILDING_DIM (DIMENSION), I have 3 levels in total, building and user... I want my account to all users for each building
3. has created a measure called User Count - separate in the table USER_BUILDING_DIM (FACT) and set it to the building of a level in the hierarchy of USER_BUILDING_DIM (DIMENSION). This is the only level that I put for this measure

When I go into the answers, and I create a query like:
ID, number of events, the number of users - separate from the construction

The query comes back perfect shows me the number of total events of the EVENT_FACT table for each building, and beside the number of distinct users for users in this building from the USER_BUILDING_DIM table.

The problem occurs when I add all the other dimensions in the application that hang off the table EVENT_FACT, as months of my time Dimension that also blocks out of the EVENT_FACT table:
Months, the number of events, the number of users - separate

Now for the above query the number of users - separate value returns nothing and when I look in the logs of replies does not even a count more and joins the place just to the USER_BUILDING_DIM in the EVENT_FACT table and the Dimension of TIME

Any thoughts... Thanks in advance

K

I guess that this will solve your problem. Just a guess.

go to your fact table of the building and the content to set the level for all other dimensions with the highest level available for these dimensions.

Tags: Business Intelligence

Similar Questions

  • the advantage of using the date dimension.

    Hi gurus,
    I have a table of facts with 5 different dates as the shipping date, the order date.
    My question is
    Case 1. in fact, table I store date_keys (substitution integers) and create several date dimensions (alas) for each type of date as a date_dimension alias for the shipping date, an alias for the date of the order etc (in the model of declaration).

    Case 2: I just avoid using the date and just store date dimension (no integers) in fact table.
    In this way I will save 5 joints in 5 dimensions of different date.
    Note: I have need of these 5 participates in the declaration of model that will be used to create reports, not in the model ETL in dimension model ETL that one date will be there, but we must create on alias the dimension date for each type of report date.

    So, I was wondering what is the advantage of using the date dimension?

    It is more a question of design/statement of a question of ETL/ODI;).

    The advantage of the dimension is that you can select or aggregate data by year, weekends, quarter, month, day of the week...
    If you only keep the date, you had all these complexes of the formula in logic or calculated items columns (assuming you are using OBIEE). Performances will be affected and the code will be duplicated in many places.

    Hope that it answers the question.

    Jerome

  • Is it necessary to create additional rules not permitted for uses such as Regedit.exe etc when applying software restriction policy?

    Is it necessary to create additional rules not permitted for uses such as Regedit.exe etc when applying software restriction policy?

    Hello

    Please visit the following link. This should explain the software restriction policies in detail.

    http://TechNet.Microsoft.com/en-us/library/bb457006.aspx

  • PANTONE + does not match the previous Pantone spot color chart. I have several customers who are using spot colors in logos etc and now these colors are a mess. Can I get and use the old color for Illustrator books?

    PANTONE + does not match the previous Pantone spot color chart. I have several customers who are using spot colors in logos etc and now these colors are a mess. Can I get and use the old color for Illustrator books?

    Well, the spot color has not changed, but the way they were simulated four-color changed, they now use color management to get to the nearest ink possible task.

    Here is some info:

    https://helpx.Adobe.com/Illustrator/KB/PANTONE-plus.html

  • On the screen that it says "the proxy server refuses connections" Firefox is configured to use a proxy server refusing connections. The result is no internet.

    the proxy server refuses connections"Firefox is configured to use a proxy server refusing connections. The result is no internet

    You are welcome

  • Access/use of measures of dimension in a report - specifically the Total account

    I'm curious to know how, others may have approached performaing calculations on the Dimension tables to report stats on their dimensional data.

    For example. I have a DIM_CUSTOMER dimension with a dimension snowflake DIM_CUSTOMER_LOCATION. A CUSTOMER can have multiple locations.

    I would like to calculate the following information:

    LOCATION, PERCENTAGE OF CLIENTS

    Location stock the separate set of available slots

    Percentage of clients would be a calculation of:
    the number of visitors to the site/total number of clients

    I am able to do my application to calculate the number of visitors to the location and PLACE. But I am struggling to determine in a clean way to get the total number of all customers to compare to the number of clients at each location.

    A way I see to do this is to define a variable of repository that runs just a county for me ahead of the customer table to get all customers and then use this variable in my calculation of the PERCENTAGE OF CUSTOMERS. But this seems to be a way to cluegy to do.

    How do I create a measure of the number of guests that can be slid and has dropped and used anywhere where necessary in the answers?

    Thank you

    K

    Hello
    You want a table of logical facts 'Clients', with a score of LTS at your Customer Dimension.

    Create a "customer account" measure, map to your unique customer id and define aggr. to count.
    Duplicate this measure, call it "Total clients ' and set the level on the tab content for this measure at the"Total"level in your customer dimension.

    Simple!

    Create a logical column with percentage of calc or perform it in the responses.
    No probs let us know.
    Rgrds
    Alastair

  • Two filters in two dimensions without constraining the fact table

    Hi all

    does anyone know how to avoid the factual constraint when you create a report with two filters on different dimensions?

    I have a fact table big with more than 10 million lines. In the starmodel is the customer of the dimension and the products. I create a filter on the customer atrribute 'Status' and set to 'active '. Now I add the "Product Type" column of the dimension 'Product' in the filter section. When I want to choose a value OBIEE executes a select statement in the fact table. So I have to wait very long to select a value. Is it possible to say OBIEE only to select the dimension table without joining the fact table?

    Thank you much in advance.

    Kind regards
    Stefan

    Use is implied.

    Create a table of facts of the DUMMY and make also implied made for this dimension column. It will solve the problem.
    http://obiee11gqna.blogspot.com/2011/01/implicit-fact-column-in-OBIEE.html

    Published by: MK on January 17, 2012 07:08

    Published by: MK on January 17, 2012 07:08

  • Problem using same size in 2 tables of facts

    Hello

    I am faced with this strange problem with mapping metadata out-of-box MDB:
    The "Dim_W_GL_ACCOUNT_D" is attached to facts 'Fact_W_GL_OTHER_F' and 'Fact_W_GL_BALANCE_F '. These two fact tables have an inner join to "Dim_W_GL_ACCOUNT_D". The change that I made in th MDB is - I added 2 new logical dimensions DimA and Edin and joined them for the above 2 fact tables.

    The report of "Balance of the g/l account" O-O-Box works very well which has 3 logical columns (GL account number, point of financial statement, GL account category) of the "Dim_W_GL_ACCOUNT_D" and 1 column is ' closing amount "that points to the 'Fact_W_GL_BALANCE_F'." " Fact BALANCE_GLOBAL1_AMT.

    When I add 1 logical column of each of my 2 new Dims, I created, report output indicates the column is "closing amount" $ 0.0. To investigate the newspaper, the query indicates that he uses the "Fact_W_GL_OTHER_F" instead of "Fact_W_GL_BALANCE_F" fact that has the column "amount of fence. I don't know how. When I delete the logical 'GL account number' column and keep my 2 new logical columns on demand, the amount 'closure' is displayed correctly. Also, I saw there is a hierarchy Dim for "GLG" - the 'GL account number' is on a lower level than the "Financial statement item" and "G/l account category" columns of the table of logical dimension that are greater than 1.

    How can I extract the data from the application at the level of the 'GL account number' and I always get data from the query of 'Fact_W_GL_BALANCE_F '. "" BALANCE_GLOBAL1_AMT "(amount of fence) with my 2 new logical columns included?

    Any help is appreciated. Thanks to a bouquet.

    What are your levels of tables do?

    And in fact, I'd say removing the level of detail in Sun. It is not really necessary, because it will take the lowest key in the dim hierarchy to determine the level of detail.

    Well done! Glad I could help! These contents are a pain sometimes.

    Published by: wildmight on June 16, 2009 11:12

  • Using measure computing library UL (device USB-1208FS) with CVI

    Hello

    I'm trying to implement the system of company Measurement Computing USB-1208FS (www.mccdaq.com) in our test software tool which has been programmed in Ansi C using the CVI compiler.
    To make the first steps, I am building an executable based on the Ansi C «DaqInScan01.c» example code
    While I have no problem with the compilation of the code, the linker complains with errors shown below. Although the cbw32.lib is registered with my project, ICB seems not to be able to reference the functions of the library.
    What I am doing wrong?
    Is there the CVI samples available to guide me in the first steps regarding this device?
    I use WinXP SP3, CVI is version 9.01

    Thank you for your support

    Hello IEE_newsoft,

    Looking at the screenshot you posted, a recommendation is to make sure that the header file and library with the same name, also have you been able to call the dll or lib successfully in another environment, IE such as visual studio to check there is nothing wrong with the files. Also look at this Developers Zone,http://zone.ni.com/devzone/cda/tut/p/id/3453 it shows you how use a third party dll of CVI and http://zone.ni.com/devzone/cda/tut/p/id/8503 shows you how you can use either dynamic or static linking to call your dll.

    Hope this helps

  • problem reading DAQmx using Measurement Studio 2010 (even with examples OR)

    Hi all

    I'm reading the voltage using a map of NOR-DAQ-6211 with Measurement Studio 2010 SP1 V9.1.0.204. using Visual Basic .net 2010.
    When I create the task of data acquisition with the measurement studio Wizard, (Assistant DAQ) everything works fine. However, when I try to create my own task player in looking over the "ContAcqVoltageSamples_IntClk" everything I read is a value in the range of Vmin to Vmax (or to Vmin Vmax) and then she stays there no matter if I change my diet. Vmin and Vmax does not yet match my values of voltage. (It acts like that on my application and example of OR) I guess I missed a few initial settings. The config of AIChannel in two projects (manual task and Augo-Gen) use AIChannelConfig.RSE (I tried other options, but no luck).

    The only wiered thing is that when I open examples of projects, VS does not recognize the object references of NOR. Workspace names DAQmx. When I check the references, it shows that it does not find the reference to NI.Common. To make it work/compilation, removed from the solution and I again added. (I don't think this is related, as it seems that there are available tensions but not read correctly).

    The other thing is that my input voltage is 3 or 0 volt. When you use the manual DAQtask, when I toggle the voltage, the values displayed change momentarily the order of 0.001 Volts and then go back to their previous values of Vmax and Vmin.

    Is there more information I can provide?

    Help, please
    Thank you

    Yay! I just solved my problem,

    From the first moment I knew there was something fishy about this AITerminalConfig thingy! I made two errors:

    1. in the code example Configuration AI is encoded: CType (-1, AITerminalConfiguration) that caused the code example does not work for all channels to HAVE it

    2 - also, I have in my code, I had put this config to the correct value, but I was checking ai0 all the time while the signal was on another I. I was under the impression that since the example does not work for all my channels, then probably my code does not work as well.

    If after changing the line in the example for the correct terminal configuration settings, he began working for the AI number I was looking for too much and I found that my code worked for my AI # correctly from the beginning. I wasn't just to see it!

  • How to specify the sampling frequency? Must use "measurement & Automation Explorer '?

    I use to measure the input current analog OR cDAQ-9171 (chassis only location USB) and NOR-9207. I have 2010 NOR-installed DAQmx and LabVIEW.

    How can I specify the sampling frequency?

    If I use M & A Explorer to create the task, I can specify the flow rate (Hz) on the Configuration tab-> sync settings.

    For the acquisition of data NOR, it is mandatory to use M & A exploring?

    If I don't want to use M & A Explorer, how can I specify the rate (Hz)?

    Hello

    You can specify the sampling frequency with "DAQmx Timing.vi" located in the function palette DAQmx (read context-sensitive help on how to use wisely).

    You do not have to use M & A exploring (MAX) to create a task.

    A simple and quick way is to use DAQ Assistant (same configuration as in MAX) to configure your measurement.

    Another is to use blocks of DAQmx function to manually build your application code.

    In my experience Assistant DAQ is ideal for simple tasks (one measure), with regard to the more complex measures (synchronized the analog and digital inputs).

    I tend to use function blocks because they give you more freedom about code execution.

    Note: You can also build DAQmx code from a wizard configured DAQ task.

    Best regards

    Matej

  • Original (D) disk image hard is full, what can I do to reduce the amount used. Emptying trash, Defraged etc, any ideas please

    (D) original hard disk image is full, what can I do to reduce the amount used, I 1.36 MB of 7.43 GB free space. Emptying trash, Defraged etc, any ideas please?

    You're not supposed to be access the recovery partition or copying what anyone, unless you go actually to recover the PC as long as you plant. -ignore the msg.

    In the system properties > System Protection disable protection for the D drive

    BTW have you created your recovery disks, using the process described by the manufacturer of your PC, if you you do not need to do that now!

  • My mind is wiped out. I'll put up pages in Photoshop 9.0 to be then placed in InDesign 4.0 for professional printing. Can you help me configure the proper color settings, and what PDF preset to use. And output parameters, etc. Thanx.

    My mind is wiped out. I'll implement the color pages in Photoshop 9.0 to be then placed in InDesign 4.0 for commercial printing in book form. Can you help me with the settings of color in Photoshop, that is to incorporate the color profile; convert in space work, Adobe RGB, etc. and which PDF preset to use, i.e. printing, PDF / X - 1 or 3, etc. Also, what I have to select the output settings such as the conversion of colors with the Destination or the printer deals with that. I know I asked a lot, so thanks in advance for any input or advice.

    Best regards, ScottyB34

    What are the settings of your printer wants? Some may deal with sRGB some want Adobe RGB Ctrl/Cmd-Shift-k in Photoshop, then choose North Amercian prepress 2

    He'll take care of the tags for you, or if sRGB is important, Norh American General Purpose 2.

    Here is a summary of the settings PDF and their meaning:

    When you are ready to create a PDF file from an application such as Illustrator or InDesign Adobe, we give you a list of the predefined PDF settings from which to choose. Well how do you decide which is the right choice? Well, let me explain what they do.

    Let's start with the smallest file size and the name of the type of the story. It is compatible with Acrobat 6, which means that anyone who has Reader or Acrobat 6 or above will be able to open the file. Now it converts everything in sRGB color which is a common space for color monitor.

    All RGB is truncated to sRGB, CMYK and spot colors also. So that means if you have a job to print, you can see some color shifts in this outgoing PDF. You must decide whether it is acceptable. He can't stand live transparency, not flattened. It downsize image content to 100 pixels per inch and this is part of how she made a reduced file size. It also uses aggressive JPEG compression of poor quality on the content of the image. So, you can see some of these rectangular JPEG artifacts.

    But it is how it gives you a reduced file size, and results are appropriate to be posted online or attached to an email.

    High quality printing has compatibility with Acrobat 5 and above. There is no color conversion. RGB RGB stays, rest spot, stays of CMYK CMYK spot and it supports live, not flattened transparency. It does not perform some downsampling to 300 pixels per inch. So, for example, if you placed an image which was 300 ppi and then set to scale up to 50 percent there actually a res then 600 pixels per inch.

    Well, this process would take half out these pixels. Therefore, it can create larger files but that makes it suitable for in the House of printing or sending Let's say a remote office if they want to print we tell cells leaves, or brochures, or something like. It's beautiful out on an internal printer.

    Print quality and high quality printing have similar names, so this may be a bit confusing, but print quality has compatibility with Acrobat 5 or higher. It converts the content of RGB to CMYK destination values according to what you specify as the destination.

    It is usually SWOP, S-W-O-p. It supports live, not flattened transparency. It performs the subsampling bicubic to 300 pixels per inch and because that it keeps at least 300 pixels per inch, which means that it can create some large files, but it is suitable for professional printing.

    Then we start to get into the presets named 'X '. 'X' is now for Exchange. They agree on specifications and the idea is to have a set of specifications if a PDF file is compliant to these specifications, we know it's going to be printable.

    We know that imaging devices are going to treat them properly. So this goes back to 2001, and which can seem a bit old, but bear with me. PDF/X-1 has a compatibility with Acrobat 4. I know, it sounds old. It converts RGB to CMYK content, it keeps the content of good tones. It flattens transparency. Downsize it at 300 pixels per inch. It can large enough crat files if you have large size images in your project and that it is suitable for professional printing.

    The idea behind X-1 is if you send a PDF file to an unknown printer, you do not know what are their capabilities, you send abroad, it will be able to be photographed on any device. No matter the age, it is, they can print. Over the years, the concepts of Exchange became more sophisticated the workflow and devices become more sophisticated.

    SP PDF / X-3: 2002, remains compatible with Acrobat 4 and that means that it flattens transparency, but it does not perform any color conversion.

    This means that it maintains RGB content, place remains in place, rest of CMYK CMYK. He still performed bicubic downsampling at 300 pixels per inch, and therefore, it can create large files. But this is suitable for commercial printing, if the printer signals you that it is present RGB content is correct.

    PDF / X-4: 2008 is compatible with Acrobat 7 and later. See, we're getting more modern. No color conversion. RGB RGB stays, stays CMYK CMYK, spot rest spot and it supports live, not flattened transparency.

    He still performs bicubic downsampling. Therefore, it can create large files because it maintains the pieces of the image to 300 pixels per inch or higher and it is suitable for commercial printing, as long as the printer tells you that RGB content is not serious and dynamic transparency is acceptable. Some older workflow does not support dynamic transparency, or they treat well, and that's why always ask. It is a special case in Illustrator, something called default Illustrator. Its compatibility is Acrobat 6 or higher.

    It does not perform the color conversion, everything continues like this. It supports transparency live, not flattened, and it also contains the original, editable Illustrator file in the PDF file. It preserves layers and it may be return, can be reopened safely in Illustrator and it's really the only PDF format you can do with safely. But it can create larger files, because you sort of two files for the price of one, they sometimes get huge.

    So what predefined PDF is Right For You? Well, if you want to send for printing, the first thing you should do is to ask your printer how they want the created PDF.

    They should be able to give you the plug for the creation of the PDF file. They may be able to give you job options files you can simply import and use as your preset target. But if it's a stranger the printer or the printer for some reason any said, well, I don't know, just make a PDF and this happens, well, choose the lowest common denominator to the PDF/X-1 test. Anyone can image that. If it is a more modern printer and up to date, especially if you send it to someone who uses digital presses, PDF/X-4 should be safe.

    I always go back to point one, ask the printer. If you send it as an attachment or you're going to post online, well, smaller size of file is a pretty clear choice. But remember this, you can start with one of these predefined parameters, and you can always edit it to customize your specific needs. So get to know the presets, understand the destiny of the PDF you create, and then make the best PDF that you can.

  • I am self-taught and use since CS4 - archaic, tables, etc. for years smoothly other than those associated with tables and cells.

    I can not Dreamweaver to find the .jpgs I put on the remote server.  I can bring to the top of the page on the Internet, but not jpg - three on the page.

    I can't get Dreamweaver to keep the remote path.  I don't have local copies of my existing site on Dreamweaver.  The page works fine, links, etc.  I'm trying to add a page, not a site, but when the page is in place the jpgs will not appear.  My only choice in Dreamweaver are refferences "site" and the document.  I put the remote path in a zillion times in many ways.  But no connection.

    I created a new page and it is the only one that I'm trying to get the jpg images to be called from.  The remote page is: www.columbianexpositiontickets.com/All Pages/ferrispage/mainferris.htm ticket sales.  There are three JPGs on the page and everything just, I don't know how to change the situation where the jpg files will appear.

    I have three JPEG images in the folder 'ferrispage' and even a 'pictures' folder in the same folder.

    CS4, Win7.

    I do not know how to change the remote possibility, just "site" and "pertinent" are presented.  I sometimes get a "530 login incorrect.

    Drives me crazy, as everyone and suggestions would be appreciated.

    Thank you, Hal Hill

    Well, let's start with this unfortunate image in your source code:

    "height FTP://halhill:***@74.91.214.252/columbianexpositiontickets.com/All%20Ticket%20Sales%20page s/ferrispage/frontlargecert.jpg" ="388" border ="0" width = "500" > ".

    Immediately, I know what the problem with this link.  The question is do you have?

    TIP #1: %20 is spaces.  Use no spaces or special characters in web folder or file names.  She creates problems on the server.

    TIP #2: Remove all this:

    FTP://halhill:***@74.91.214.252/


    and replace with this:

    http://

    It is a problem solved.

    See if you can solve yourself the other paths of bad image.

    Nancy O.

  • Sort descending using development tools Dimension

    Hello

    I have an alpha-numeric property to short, we do descending sorting, can achieve us using developer studio.

    I was able to sort in ascending order, do not see any field in developer studio to sort by descending order

    Thank you
    Tijo

    Hi Michael,

    If you want to sort descending dimension a way to do is to add more in 'appname.refinement_config.xml '.



    In this way, we get the dimension values in descending order.

    Note Please Whenever you have the pipeline in the developer studio this mapping is deleted, you must add it again before running the base line.

    HTH
    MS

Maybe you are looking for

  • When will be fixed accidents caused by FlashPlayerPlugin 19?

    Adobe FlashPlayerPlugin 19 consistently causes FireFox to freeze. Waiting does not seem to translate into a thaw. Used the Windows Task Manager to stop the process of FlashPlayer in order to release a FireFox. It is difficult and time-consuming, and

  • Problem scanner allinone

    My psc 750xi left scanning.  The screen indicates it is a scanner failure.  I was not able to correct any error is the cause of the problem.

  • installed windows 7, now question about bluetooth NIC

    So, I deleted the installation of vista factory, formatted hard drive and did a clean install of win7 64 bit. Now, I find myself trying to pair a headset stereo bluetooth to my system, after an investigation that he won't, I searched in which nic car

  • "Put it back" option (Trash) not.

    Hello I'm on El Capitan 10.11.2. I just discovered that if I opened the bin and just right-click on a file, the "Deliver" option is no longer there (was there in Yosemite). The option is also not displayed by pressing and holding the Option key and c

  • Windows Update error 8024402F

    I formatted my computer today, installed Windows 7 64 bit Home Premium edition and jumped on to the thing update and I cannot get it to connect. I have no anti virus installed - other than Defender - as the first thing I wanted to do was windows upda