Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
Expand all | Collapse all

How many tables in a Data Module

  • 1.  How many tables in a Data Module

    Posted Tue October 22, 2024 12:08 PM

    We are new to Cognos.  Our version is 12.x

    Much of the resources online is for prior versions, mentioning things we don't have (or have been renamed) so it's very confusing (Framework Manager is just one).

    I am trying to get off on the right foot... but we started by bringing all of our "reporting" tables into a single Data Module, then began "re-creating" our reports.  I quickly discovered that 

    1. It was overwhelming for a report author to find various columns that are repeated in multiple tables.
    2. Many of the reports were slow and inaccurate because of the join loops - customer address is joined to customers, orders, and invoices

    So I'm not sure how to begin to simplify things.  The current data module "relationships" look like an "asterisk" with "stars" mixed in overtop

    So my questions are (best practices)

    1. Should I break things up into separate Data Modules (instead of one large one)?
    2. How many tables are "too many" for a single data module (i.e. when does it get too complicated for a report author)? 
    3. Do I need to organize multiple data modules in multiple folders (in other words, if I decide to move a data module to a subfolder, would it break the reports already created)

    Any general recommendations would be appreciated.



    ------------------------------
    Greg Wilburn
    ------------------------------


  • 2.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 02:58 AM

    Hi Greg - welcome to using Cognos. It's a great enterprise reporting tool. Learning a new toolset can be frustrating but we have a great online community that can help you!   I have built many many enterprise reporting solutions using Cognos across large corporate data warehouses using hundreds of tables and haven't come across a data modelling problem I couldn't solve (yet!). So stick at it!  

    In answer to your questions. And I'll be honest!

    Data Modules is Cognos latest newest next generation data modelling tool. It does the same thing as Framework Manager. The recommendation is that any new projects should start using data modules but may want to revert back to FM if there is an FM feature not yet in Data Modules. DM is slowly coming up to feature parity of FM but is still a long way off. One thing that DM has that FM will never has is navigation paths. So if you want drill down in dashboards/reports, without the complexity if FMs dimensional modelling, DMs are the way to go.

    My opinion is that FM was built with the enterprise data modeller professional in mind so has multideveloper, large projects baked in, whereas DMs are very much a business user focussed tool that can lead to frustration for advanced data modellers. There was recently a blog post on using DMs with multidevelopers  - look in the blog posts part of this website.

    The question about multiple data modules - its not a question about modelling, but about the consuming tools such as reporting and dashboards. Whilst both can consume multiple data modules, dashboards certainly doesn't recognise common dimensions within multiple DMs. For example you have a common calendar in multiple data modules. You bring in multiple data modules containing the calendar. If you filter one calendar, you only filter that calendar. A bit of a downside. This can be overcome in reporting. 

    But in my projects we want DMs to be used in both dashboards and reporting. So whilst data modules are called modules - all my projects end up with one massive DM due to how they are used in dashboards. And yes this does lead to messy hard to follow DMs, which FM didn't have an issue with. Again look at the data module blog post referenced earlier and see if that overcomes these issues for you.  

    The question about modelling - loop joins and so on - regardless of the tool (FM/DM) both use the same query engine. So switching from DM to FM wouldn't magically fix these issues.

    The thing to remember is that the cognos query engine works best when tables are modelled in terms of fact and dimension tables. This allows the full power of the query engine to resolve multi-fact queries.

    On the web you may see FM documentation on data modelling - such as resolving loop joins and ambiguous join paths. Don't ignore this just because its about FM -  the exact same concepts are used to resolve these issues in DM. DM has the same concepts of shortcuts and alias tables. The only thing it doesnt have is FMs namespaces (but we live in hope!).

    Back to performance - that could be a million things.

    If you're reporting against a database, then at the end of the day the reports are just writing sql and running sql against a database. You need to ensure the data model is correct so that the tool generates the kind of sql you would expect to see.  After that there comes all the performance topics of caching, local processing etc. But none of that is of any use until you get the kind of sql you expect.



    ------------------------------
    Marc Reed
    ------------------------------



  • 3.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 03:47 AM

    Here are links to some interesting blogs. Some blogs are missing images, there is currently some problem with the IBM website:
    https://community.ibm.com/community/user/businessanalytics/blogs/ian-henderson1/2024/08/23/multi-modeler-multi-module-techniques 

    https://community.ibm.com/community/user/businessanalytics/blogs/marc-reed/2023/07/06/replicating-framework-manager-star-schema-grouping?CommunityKey=6b10df83-0b3c-4f92-8b1f-1fd80d0e7e58

    https://community.ibm.com/community/user/businessanalytics/blogs/ian-henderson1/2022/09/04/aliases-and-shortcuts 

    https://community.ibm.com/community/user/businessanalytics/blogs/ian-henderson1/2022/09/04/working-with-aliases-and-shortcuts-in-multiple-lin

    https://community.ibm.com/community/user/businessanalytics/blogs/marc-reed/2023/06/21/replicating-framework-managers-parameter-maps-with?CommunityKey=6b10df83-0b3c-4f92-8b1f-1fd80d0e7e58

    https://community.ibm.com/community/user/businessanalytics/blogs/ian-henderson1/2020/12/21/identifiers-and-their-use



    ------------------------------
    Milan Milovanovic
    ------------------------------



  • 4.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 09:30 AM

    Marc, I am trying to find the blog post you referenced when saying "There was recently a blog post on using DMs with multidevelopers  - look in the blog posts part of this website" and "Again look at the data module blog post referenced earlier and see if that overcomes these issues for you." I went into blogs and searched for Data Modules with multidevelopers and even just the word "multidevelopers" and couldn't find anything. Could you please post the links as this interests me, as well?



    ------------------------------
    Scott Gaffney
    ------------------------------



  • 5.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 09:37 AM
    Edited by Marc Reed Wed October 23, 2024 09:54 AM

    The post was called Multi-modeler, multi-module techniques (ibm.com)

    Link below.

    Multi-modeler, multi-module techniques (ibm.com)

    And is only applicable for 12 onwards.



    ------------------------------
    Marc Reed
    ------------------------------



  • 6.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 11:08 AM

    Marc,

    Thanks once again for your reply.  Let me back up a bit.  I am an application programmer - 27 years of writing applications and reports from the same (legacy) database.  Ten years ago I built SQL views over our database (with IBM's help) to use with a different BI tool.  We created very basic reports that created HTML/XLS output that closely resembles Cognos lists and crosstab (the crosstab was MUCH easier in the other tool).  Much of the Cognos terminology is foreign to me.  Terms like "fact" and "dimension" tables.

    The SQL views (i.e. tables) were described in this tool as metadata (data source for reports).  We had about 6-10 core pieces of metadata.  The metadata was comprised of several tables joined.   Additionally, users could join metadata when building reports.  Each "piece" of metadata was mutually exclusive of the other pieces.  However, the same tables may be used in multiple metadata.

    The problem I'm having is with developing a single data module to replicate the previous metadata, without creating loops that confuse the Cognos query engine.  And, creating an intuitive data source for report authors.  The same column names may be in a dozen data sources (so the "Find" is less than ideal).

    What I've observed is the Cognos query engine taking the "wrong" path to access the data (the generated SQL is definitely not what I would create)

    At this point we are just trying to replicate the basic list/crosstab type reports we currently have available in the old BI tool (without painting ourselves into a corner) 

    My issue is that I don't know what I don't know.



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 7.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 11:35 AM

    It sounds like you have a SQL background which is helpful for anyone doing data modelling. Are you used to Third Normal Form databases?

    Apologise if you know all this already...

    Facts / Dimensions aren't Cognos terms - they are industry standard terms used for star schema data warehouse databases.  A search of Google will show how these modelling concepts are different to TNF databases.

    It may be that the source relational database is either a TNF transaction database or a star schema reporting data warehouse. Regardless of which you will typically get the best results if you model the source database in terms of dimensions and facts. 

    A typical sample used in Cognos is the product dimension. This consists of three physical normalises underlying database tables ( Prod Line, Prod Type, Prod). Within the Cognos data model we would model these three physical tables as a single Product dimension. A bit like you talked about creating views earlier. Its a very similar concept. We are creating views in the data module instead.

    By modelling things in terms of Dimensions and Facts, and appropriate use of aliasing/shortcuting dimensions we can remove loop / ambiguous join paths. 

    The best piece of advice I can give anyone in modelling data is that you are trying to create a model for the report authors. Often I see people try and reproduce the physical database model in DM/FM which is the wrong approach. Model for the results you want - a logical reporting model. It sounds obvious, but I have seen DBAs try and use the tools and they reproduce the physical model which is of no use to anyone.

    Backing this up - its important to use the cardinality on relationships that helps Cognos identify what is a fact and what is a dimension. Again these need to be the logical cardinality, rather than the underlying physical cardinality.

    One place where data modules will fall down is in factless queries. For example I have dimensions for Calendar and Product and I have fact tables for sales, and another table for returns.

    Product / Calendar and Sales join together, and so does Product / Calendar and Returns.

    If I create a report with just Product and calendar on it I have a factless query. Which join path between Product and Calendar should I use?

    The answer lies in the question - are you asking for which product were returned  in each month, or which product you sold in each month.

    Without a fact or shortcuts cognos would use the alphabetically first fact.

    I mentions using cardinality to help cognos identify facts and dimensions. Using the above tables Product, Calendar, Sales, Returns - what should be the result if I add all four tables into a report? The novice would just inner join all these tables together. But what would happen if I had sales in Jan but no returns? Cognos recognises what are facts and dimensions and does separate facts for sale and returns queries and stitches them together, usually in the same SQL statement, ensuring no loss of data.



    As I said - most modelling problems can be solved.

    Modelling big DWs all comes down to the simple step of modelling dimensions, modelling facts and then just joining facts to dimensions.



    ------------------------------
    Marc Reed
    ------------------------------



  • 8.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 03:19 PM

    Thanks... that helps a lot.

    I'm working with a legacy DB2 relational database on an IBM i... I don't know how you would classify it - but neither of those terms are immediately familiar to me.

    I created the SQL views to flatten and simplify the underlying tables.  I'm going to work on the relationships from that perspective.  The cardinality could be my issue.



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 9.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 02:47 AM
    Edited by Marc Reed Thu October 24, 2024 02:50 AM

    Cardinality is one area that can have a big impact on the SQL the cognos query engine creates.

    Would recommend you read this topic:  Cardinality in Cognos

    The follow on topics also shows why Cognos needs to identify dimensions and facts. You may find all the help topics in that part of the documentation useful. You'll see such topics as stitch queries, remove ambiguous relationships and so on. Just remember - build the model that supports the reporting requirements, not model the physical database. It's a mindset switch that makes a big difference.

    If you're looking at the SQL Cognos is creating, and you're seeing outer joins when you're not expecting them (in your metadata model everything's an inner join) then its a sign that Cognos is performing stitch queries as it believes you are using multiple fact tables in your report.

    If you are working with a Cognos Partner then they should be very familiar with these concepts as they are fundamental to building a good Cognos reporting solution that gives expected results to professional report authors, but more importantly is understandable and usable by business authors who aren't sql experts. It's achievable, honest!



    ------------------------------
    Marc Reed
    ------------------------------



  • 10.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 10:39 AM
    Edited by Greg Wilburn Thu October 24, 2024 10:41 AM

    Thanks again Marc.  Just by the comments here, I'm feeling that your reporting environment is much more complex that what I'm initially trying to build.  

    Almost all of my reports are producing detailed lists (excel worksheet) about a transaction level information.  Current users want to access information at the individual Order or Invoice level.  Some reports even down to the line item of each invoice or or order.  So I almost have to create a DM that replicates the database information.

    The users (which are actually our clients) take that detailed transaction information and do their analysis (in Excel) from that data. 

    This is what I initially have to replicate.

    In the future, I would like to use Cognos how it was meant to be used - as a Business Intelligence tool.  But for now, I need to give them the simple report output that they are accustomed to.

    To me, this doesn't look like an environment that a typical report author could navigate

    I'm just trying to determine if a typical environment might look like the above, or if I would be better server (for these reports) to create an environment with multiple data modules, containing only the specific tables need to product reports for say "current open orders" (below)?



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 11.  RE: How many tables in a Data Module

    Posted Fri October 25, 2024 03:14 AM
    Edited by Marc Reed Fri October 25, 2024 03:34 AM

    @Greg Wilburn you are pondering the exact same questions every developer has at the start of a reporting project.

    The Cognos solutions I build contain the full spectrum of reporting - from operational list like reports that you're discussing, to high level corporate dashboards. And i build all the deliverables from the same data module.

    I will agree with you that a data module with many tables in becomes 'messy'. This is something I have mentioned many times to IBM with feedback I have given on data modules (and for anyone else reading let's not start the DM vs FM debate again). There is a focus mode that can help modellers a bit. 

    Thankfully, not many authors have to open the DM and see the internal workings of it. They will just see the view you present to them using folders to help structure it.  

    @HENK CAZEMIER - see, it's not just me who gets upset with this data module relationships window!

    Back to your question on single or multiple data modules. Remember that its down to the tools that use the data modules.

    • Reports can consume multiple data modules at the same time.
      For example you may have one data module show a list, and another for a chart.
      Advanced authors can easily make common filters apply to all objects in the report, regardless of what data source was used to create them.
      For example, a single calendar filter to apply to the list and chart.
      If you need to combine data from different data modules into a single report object, reports can do this because of they expose the full query engine to authors.
      For example I have a sales data module, and a budget data module. I want to create a single chart that shows the sales and budget together.

    • Dashboards / Stories.
      Can also consume multiple data modules at the same time. But dashboards don'tt have the advanced features of reporting.
      Using the same examples I discussed in reporting.
      I could create a visualisation of sales, I could create a visualisation of budget. But...
      I could not combine the two into a single chart.
      I could not create a common filter.


    Whilst today you only want reports, remember where you want to get to.

    In my projects, the limitations of dashboards means that I always end up with a single data module. The point to remember is this: think about the data you want to combine with reports/dashboards. That data needs to be in the same data module. For example, if I have a corporate data warehouse for sales, and another for stock control, and a load of sales reporting requirements, and a load of stock control reporting requirements -  should I build a single data module or two? Well if I know the two live in isolation, and I never need to build a report that contains both bits of data then two data modules might be the way to go.

    However, just because you may desire a single data module for reports/dashboards - doesn't mean you have to get there with a single data module.

    Look at that blog post I linked to earlier. This shows how you do the majority of modelling in in smaller data modules, and then bring those simpler modules together into an 'uber' data module that contains all the components.

    This is all very high level advice. Every person who reads this web site will have a differing opinion.  

    You mentioned that you are working with a partner who has Cognos experience. If they are an experienced solution architect, which is what you need when you're starting off, then they should know all of this and have done this before. I am not disrespecting them, just surprised that have left you pondering these questions yourself on a forum.

    Looking at the picture you supplied - if you called me on site to review these, this is what I would immediately pick up on.

    On the second diagram my alarm bells would ringing due to the join you have between Orders and Purchase orders. On the whole it looks like orders is a fact table, but then there is a join to the purchase orders that models it like a dimension. And the cardinality says that not every order has a purchase order. I would investigate that, as my default position would be a model more like this, treat the two as two fact tables and let the cognos query engine stitch the data together.

    On the first diagram, I would probably combine things like Invoice header and Invoice detail into a single invoice table. And there seems to be repetition of a few tables.

    I'm not saying you're wrong - its just those things would be my immediate things to look at.

    Every solution has slightly different modelling requirements, but these are the rules of thumb I have used in the past.


    ------------------------------
    Marc Reed
    ------------------------------



  • 12.  RE: How many tables in a Data Module

    Posted Fri October 25, 2024 08:58 AM

    Thanks Marc, that helps a lot!  

    I really appreciate your patience and feedback - I'm trying to get confirmation that I'm on the right track.

    The first diagram is what was originally created by the consultant (maybe by a tool?).  It does contain some duplicate tables that we removed... Also the Invoice Header and Detail are already joined into "Invoices" - so they were removed as well.   "Orders" and Purchase Orders were the same way.  I have a much better looking DM now.

    What do you meant by:  On the second diagram my alarm bells would ringing due to the join you have between Orders and Purchase orders. On the whole it looks like orders is a fact table, but then there is a join to the purchase orders that models it like a dimension. And the cardinality says that not every order has a purchase order. I would investigate that, as my default position would be a model more like this, treat the two as two fact tables and let the cognos query engine stitch the data together.

    In my previous BI tool, these two were separate pieces of metadata.  They were joined together in a specific report that showed the user individual lines of an order (list) adjacent to a pivot (crosstab) of purchase order quantities and expected receipt dates.  Not every item number has quantities on purchase order.  I am not sure to replicate that capability within Cognos vs the other tool, so I joined it in the same fashion in the DM.

    Secondly, the consultant recommended sticking with a single DM, possibly using Aliases & Views to present the data.  I was good with that idea, but was unable to "hide" repeated columns (keys) from the user when using Aliases.

    Thankfully, not many authors have to open the DM and see the internal workings of it. They will just see the view you present to them using folders to help structure it.

    This is what I currently have:



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 13.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 05:14 AM

    Any advise your going to be given on here is generic stuff.  It's impossible to give accurate advise without knowing the ins/outs for your particular data and requirements. With that caveat said, to answer a few points.

    Removing repeating columns on alias tables isn't something you would want to do. A typical alias use case could be turning a single calendar into multiple instances such as a Shipped Calendar, Order Calendar, Invoiced Calendar. The reporting user would want access to all the columns in all the alias. For example, the report may need both shipped date and ordered date. So both dates must be visible. You don't want to hide any of them.

    My point about orders and purchase orders. In your metadata model anything that wanted to query purchase orders must go through an order. In a typical star schema, we don't join facts together.

    This is all explained in the metadata modelling links i provided earlier - the bit about stitch queries is usually how we prefer to join fact tables together. It's generic advise, and there are exceptions, but that is the normal default position.



    ------------------------------
    Marc Reed
    ------------------------------



  • 14.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 09:26 AM

    Thanks Marc. 

    I think my biggest issue is that I'm not really looking at my ERP tables.  Instead, I'm using data views that have already combined most of the dimensions and facts.

    My real struggle is when creating a single report containing data from different fact tables.  In the example of Orders and Purchase Orders.  Our previous tool allowed us to join within the individual report.  So these were separate data sources.  The join was specific to the report. 

    There's just something with this Cognos that is not clicking for me.  Classic example of "I don't know what I don't know".



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 15.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 09:40 AM

    Within Cognos Reporting you can do complicated SQL concepts, like joining, unioning, sub queries etc to alleviate a lot of pain - probably a bit like your old tool. But the best Cognos solutions have a metadata model that is: 

    1. Is requirement driven , not data driven design
    2. Suitable for Professional and Business Authors
    3. Is suitable for using in all tools - Reporting, Dashboards, Stories, Explorarations
    4. Gives predictable results

    A Data Module that requires advances reporting authoring concepts doesn't really fit all of the above.

    That should be your end goal. In order to get there you may have to rethink your approach. Your wrote views in your database for your old solution. These may be reusable in a Cognos solution - but be open to the idea that the may not be the best to give the 4 points above, so you may have to start again.

    You may want to build an initial tactical quick win project, that simply replicates your existing solution. A data module that is only really suitable for the advanced professionals. That requires report authors to join data together in the report.

    With a more strategic project being to go back to basics and look at where you want to go with Cognos - delivering a solution that offers all of the initial points I listed.

    These are the exciting parts of a project - defining the vision and the roadmap. It's the bit I really like.



    ------------------------------
    Marc Reed
    ------------------------------



  • 16.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 10:13 AM

    That is exactly what I need to do.  Right now I need a win.

    I am able to replicate many of our client-facing reports by accessing the DM directly - maybe I'm trying to hard to get it perfect the first time?



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 17.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 10:27 AM

    Sounds like you have a plan then.

    A quick tactical DM where you bring in your existing views into a DM, and do some complicated stuff in reporting. To remind you, reporting has these common sql concepts.

    This gives you a quick win.

    The roadmap of where you want to be once the quick win is out of the way. A data module focussed around the full user community and suitable for all tools.

    Good luck!



    ------------------------------
    Marc Reed
    ------------------------------



  • 18.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 12:44 PM

    Hi Greg.

    If you need to design the models for ad-hoc reporting and your reports require querying more than 2 dozens of tables, row level security, multi-language, role-playing relationships, multi-fact queries, etc. then use FM. At the moment it is much more robust tool  which has been around for decades.

    I'd strongly recommend to bring an experienced Cognos Modeler to help you with development of your initial Data models.

    Please reach out if you need any help with Cognos.

    Thanks!

    HTH, Andrei



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 19.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 02:36 PM

    I have been working with a Cognos business partner



    ------------------------------
    Greg Wilburn
    Director of IT
    Total Biz Fulfillment
    Grantsville MD
    ------------------------------



  • 20.  RE: How many tables in a Data Module

    Posted Wed October 23, 2024 03:14 PM

    Hopefully, you got someone with a few of successful Cognos projects.

    Though, there is no silver bullet in the Cognos implementations. 

    I assume your Cognos consultants should be able to choose the most optimal approach and functionality based on your requirements.



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 21.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 03:09 AM
    Edited by Marc Reed Thu October 24, 2024 03:27 AM

    (I can't believe I'm about to say this as I am FM advocate through and through...)

    The IBM guidance is that a new project should default to using Data Modules for modelling, and only revert back to Framework Manager if its really needed. Of the points listed:

    1. Data Modules now support multilingual models better than FM
    2. Data Modules has shortcuts and alias table for role playing dimensions
    3. Multifact queries are a property of the query engine, so both DM and FM are fine for this.
    4. DM does basic row level security at the database level, so any DMs built on the same table automatically get the same security,

    I would agree that FM has advantage of:

    1. The namespace concept allowing much better logical layout of models for model builders and consumers.
      They have tried to recreate this in the latest DM blog I linked to earlier.
    2. Much more flexible security that can be built programatically using the common macro language
    3. Much better multi-developer support with segments, linked projects and so on.
    4. Support for DB stored Procedures.

    Data Modules does have that some killer-app feature that FM will never have - Navigation Paths. These allow drill down in dashboards and reports.  (Yes I know the FM advocates will say you can so something similar doing dimensional modelling within FM but its not as simple and not as flexible as navigation paths). And Relative time calculations - which are great for business authors and dashboard authors.

    So yes it is important when starting a new project - which tool to use DM or FM as you cant move a project from one tool to another. But the default position shouldn't be start in FM.



    ------------------------------
    Marc Reed
    ------------------------------



  • 22.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 04:17 AM

    Insights into Cognos Data Modules Compared to Framework Manager

    While Framework Manager is a stable tool, it hasn't been developed further in many years. As a result, many of the modern functionalities that Cognos now offers are not supported there. Here are some key points at a glance:

    1. Missing Functions in Framework Manager: Sorting options for attributes, such as months (January, February, March), are not available in Framework Manager.

    2. Internal IDs in Data Modules: Each object in a data module has an internal ID, and multi-layered modeling is no longer necessary. Reports continue to run reliably even after changes to the model. (no english simbabwe anymore ;-)

    3. Data Security: Data modules support data security at the data source level, making the management of row-level security very straightforward.

    4. Assigning Information: Geographical or time-related information can be assigned to attribute properties, enabling wizards to automatically generate forecasts.

    5. Flexible Queries: Macro functionalities allow for flexible queries, which are better resolved in data modules compared to Framework Manager. For instance, localization and aggregation at different levels are much better implemented in data modules.

    6. Simplified Collaboration: Linking existing data modules simplifies collaboration. Dimension tables only need to be created once and can be reused.

    7. Integration and Flexibility: Access to data sources like Excel or data sets is better supported, giving Cognos a competitive edge against other BI tools. Navigation paths are flexible and easier to create than dimensions in the DMR model.

    8. No Cumbersome Clients: Unlike Framework Manager, where cumbersome clients are required to publish changes, reports or dashboards can be created directly within data modules.

    9. Future of Versioning: Versioning will come in a future release, but it can already be handled through the XML structure.

    10. Calendar: relative times for key figures. These are generated with three mouse clicks (CY, PY, YTD, PYTD, current Month...)

    Conclusion: The new features in data modules have become so dominant that Framework Manager should now only be used in exceptional cases.

    ok, what i really miss is the dmr modeling. but just because i like dimensional functions so much ;-)
    Tip: prevMember, nextMember, tuple also work in the data module



    ------------------------------
    Jens Bäumler
    Cognos Analytics, Planning Analytics and watsonx
    Apparo Group
    Germay
    www.apparo.de
    ------------------------------



  • 23.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 04:28 AM

    I think that gives Greg enough on FM vs DM - something the old hands could debate for hours. But the debate shouldn't really exist if we had a product roadmap.

    But I wanted to pick up @Jens Bäumler Tip....

    Tip: prevMember, nextMember, tuple also work in the data module  

    WHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT! Ccould you provide a post showing this in action - is it documented?



    ------------------------------
    Marc Reed
    ------------------------------



  • 24.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 04:54 AM
    Edited by Jens Bäumler Thu October 24, 2024 04:56 AM

    it is indirectly documented. just look at the specification in a dashboard if, for example, you drag the year 2022 as a member of a data module into a diagram (you can get the specification via CTRL .)
    There you will see that Cognos addresses members in the data module in exactly the same way as in a DMR model.


    You can also do this in the report. 

    Here is an example in Reporting:



    ------------------------------
    Jens Bäumler
    Cognos Analytics, Planning Analytics and watsonx
    Apparo Group
    Germay
    www.apparo.de
    ------------------------------



  • 25.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 09:08 AM
    I am utilizing the FM module for the Data module. The existing FM module is extensive, with multiple namespaces and numerous columns, enabling us to track 15 years of data.
     
    Users want to see data from different angles, balancing traditional formats and new ways to quick insights for business needs. I am creating several datasets specifically tailored to meet typical user requirements to address this. These datasets will offer various viewing options, ensuring user needs are central to our data management strategy. I am developing these datasets within the package, forming the Data module, and creating a custom table to address specific requirements. This approach enhances performance and facilitates data loading when saving reports. However, I am still evaluating the long-term implications.
     
    This work requires additional work for the FM data modelers and presents significant security challenges. I have also noticed differences in the generated SQL when viewing it.
    Ram

      



    ------------------------------
    Ramanujam Rajagopal
    ------------------------------



  • 26.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 09:13 AM

    FWIW – I don't think I have access to Framework Manager.

    Greg Wilburn
    Director of IT
    301.895.3792 ext. 1231






  • 27.  RE: How many tables in a Data Module

    Posted Thu October 24, 2024 09:46 AM
    Edited by Andrei Istomine Thu October 24, 2024 10:11 AM

    Thank you @Jens Bäumler

    I guess I was biased against the DM ....  

    That's cool... I wonder if Dimensional stuff should work only with DM attributes which define some hierarchy ( like Calendar or Navigation path) ?

    Unless DM treats all Attributes as One level flat dimensions...

    Dimensional functions is a great feature. I wonder why there is nothing in the Cognos documentation about this.

    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 28.  RE: How many tables in a Data Module

    Posted Sat October 26, 2024 02:05 PM

    It is no problem to build data modules with a large number of tables. But use the "divide and conquer":
    Divide the themes into blocks and create several data modules (you can then reuse these for other data modules).
    E.g. for products, regions, time...

    Tipp: Hide the database tables and create views (user views)

    If you want to try out. You can download GOSALES Demo Data here: https://www.ibm.com/docs/en/cognos-analytics/12.0.0?topic=samples-downloading-extended



    ------------------------------
    Jens Bäumler
    Cognos Analytics, Planning Analytics and watsonx
    Apparo Group
    Germay
    www.apparo.de
    ------------------------------



  • 29.  RE: How many tables in a Data Module

    Posted Mon October 28, 2024 10:35 AM

    Hi Jens,

    @Jens Bäumler

    How did you get that Data Module for  the GO sample DB? 

    The Extended Samples archive does not have it. 

    Thanks!

    Andrei



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 30.  RE: How many tables in a Data Module

    Posted Mon November 04, 2024 01:39 PM

    check the zip file again. there is a folder "datasources":



    ------------------------------
    Jens Bäumler
    Cognos Analytics, Planning Analytics and watsonx
    Apparo Group
    Germay
    www.apparo.de
    ------------------------------



  • 31.  RE: How many tables in a Data Module

    Posted Mon November 04, 2024 01:55 PM

    >check the zip file again. there is a folder "datasources":

    Yes, there are Database archives for different DB vendors.

    But I am looking for the Data Module, not the DB tables.

    It would be in the Cognos export package. But that one has FM packages only.



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 32.  RE: How many tables in a Data Module

    Posted Mon November 04, 2024 02:23 PM

    ah, sorry. ok. The Extended samples are "very old". There is no Data Module. But I like the GOSALES Data for testing and trainings.



    ------------------------------
    Jens Bäumler
    Cognos Analytics, Planning Analytics and watsonx
    Apparo Group
    Germay
    www.apparo.de
    ------------------------------



  • 33.  RE: How many tables in a Data Module

    Posted Fri October 25, 2024 05:57 PM
    Edited by Andrei Istomine Sat October 26, 2024 11:36 AM

    empty