Menu

Problem with role playing dimensions

2015-05-19
2024-12-02
  • Miljen Stankovic

    Hi,

    I'm facing the following problem with browsing role playing dimensions from Excel:
    I have shared time dimension in my Mondrian schema.
    If I set dimension usage attributes „name“ and „source“ in my cube to the same value everything works fine, but if I set them to different values, when I try to drill down from year to the quarter level I get the following error in Excel: „Cannot show or hide detail for this selection.“

    Examples:
    1. (works fine) <DimensionUsage source="Time" name="Time" visible="true" foreignKey="time_id" highCardinality="false"></DimensionUsage>
    2. (does not work) <DimensionUsage source="Time" name="Date" visible="true" foreignKey="time_id" highCardinality="false"></DimensionUsage>

    Tested with:
    - XMLA Connect 1.0.0.59
    - Pentaho BI Server 5.3.0.0-213
    - Excel 2013
    - Windows 8.1

    Are there any workarounds or planned fixes for this issue?

    TIA,
    Miljen

     
  • Alexandra Davidoiu (Iancu)

    Hi,

    We created a ticket for this issue. (https://sourceforge.net/p/xmlaconnect/tickets/18/)

    We will try to fix it as soon as possible.

     
  • Miljen Stankovic

    Great.
    Thank you.

    BTW, I just realized that this is more or less a duplicate of http://sourceforge.net/p/xmlaconnect/tickets/17/

     
  • Alexandra Davidoiu (Iancu)

    Can you validate please with the provider from here:

    http://arquery.com/test/XMLA_provider_v1.0.0.77.exe

    Although the problem is in Mondrian there is enough info so that we construct the correct metadata.

     
  • Miljen Stankovic

    Yes, that issue is fixed now, but I have found another issue with text encoding that wasn't present in 1.0.0.59.

    Now, if dimension or hierarchy name contains non-ASCII character (like &#353; for example) I get an error when I try to drill down to next level, but if I substitute this for a ASCII character (like s for example) it works OK.

    Works:
    <Dimension type="StandardDimension" visible="true" highCardinality="false" name="Mjesto izvrsenja">
    <Hierarchy name="Mjesto izvrsenja" visible="true" hasAll="true" allMemberName="Sva mjesta izvr&#353;enja" primaryKey="mjesta_izvrsenja_id" primaryKeyTable="mjesta_izvrsenja">
    <Join leftKey="korisnici_id" rightKey="korisnici_id">
    <Table name="mjesta_izvrsenja" schema="lc302">
    </Table>
    <Table name="korisnici" schema="lczaj">
    </Table>
    </Join>
    <Level name="Korisnik" visible="true" table="korisnici" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    <Level name="Mjesto izvrsenja" visible="true" table="mjesta_izvrsenja" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    </Hierarchy>
    </Dimension>

    Doesn't work:
    <Dimension type="StandardDimension" visible="true" highCardinality="false" name="Mjesto izvr&#353;enja">
    <Hierarchy name="Mjesto izvr&#353;enja" visible="true" hasAll="true" allMemberName="Sva mjesta izvr&#353;enja" primaryKey="mjesta_izvrsenja_id" primaryKeyTable="mjesta_izvrsenja">
    <Join leftKey="korisnici_id" rightKey="korisnici_id">
    <Table name="mjesta_izvrsenja" schema="lc302">
    </Table>
    <Table name="korisnici" schema="lczaj">
    </Table>
    </Join>
    <Level name="Korisnik" visible="true" table="korisnici" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    <Level name="Mjesto izvrsenja" visible="true" table="mjesta_izvrsenja" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    </Hierarchy>
    </Dimension>

    Error (pentaho.log):
    Mondrian Error:MDX object '[Mjesto izvraenja.Mjesto izvraenja].[LIBUSOFT CICOM]' not found in cube 'EVOK'

     

    Last edit: Miljen Stankovic 2015-05-28
  • Alexandra Davidoiu (Iancu)

    Can you try http://arquery.com/test/XMLA_provider_v1.0.0.78.exe ?

    Note: This issue was in a dependent library (gSOAP) and we just switched it. It would really help if you try to play more with the provider.

     
  • Miljen Stankovic

    It works now, but I found another issue in v1.0.0.77 and v1.0.0.78 that wasn't present in v1.0.0.59.

    When I put two multi-level hierarchies on rows the result is wrong (see before and after screenshots.)

    Dimensions/hierarchies:
    <Dimension type="StandardDimension" visible="true" highCardinality="false" name="Nivo">
    <Hierarchy name="Nivo" visible="true" hasAll="true" allMemberName="Svi nivoi" primaryKey="nivoi_id" primaryKeyTable="nivoi">
    <Join leftKey="korisnici_id" rightKey="korisnici_id">
    <Table name="nivoi" schema="lczaj">
    </Table>
    <Table name="korisnici" schema="lczaj">
    </Table>
    </Join>
    <Level name="Korisnik" visible="true" table="korisnici" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    <Level name="Nivo" visible="true" table="nivoi" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    </Hierarchy>
    </Dimension>

    <Dimension type="StandardDimension" visible="true" highCardinality="false" name="Na teret sati">
    <Hierarchy name="Na teret sati" visible="true" hasAll="true" allMemberName="Svi tereti sati" primaryKey="na_teret_sati_id" primaryKeyTable="na_teret_sati">
    <Join leftKey="korisnici_id" rightKey="korisnici_id">
    <Table name="na_teret_sati" schema="lc302">
    </Table>
    <Table name="korisnici" schema="lczaj">
    </Table>
    </Join>
    <Level name="Korisnik" visible="true" table="korisnici" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    <Level name="Na teret sati" visible="true" table="na_teret_sati" column="naziv" type="String" uniqueMembers="false" levelType="Regular" hideMemberIf="Never">
    </Level>
    </Hierarchy>
    </Dimension>

     
  • Alexandra Davidoiu (Iancu)

    Can you enter in contact with us from the page listed here: http://www.arquery.com/Contact ? We cannot reproduce this issue but we understand how this would happen in theory. We need a schema or a connection to your server in order to fix this issue.

    Thanks.

     
  • Miljen Stankovic

    It seems that www.arquery.com is having some DNS issues at the momemt, so, I've included a small schema with only two dimensions (enough to reproduce the problem) here.

     
  • Alexandra Davidoiu (Iancu)

    The schema is not enough. We tried that already and found it working. We also need data. Connect us when the DNS is solved so that we arrange something with data. Shouldn't take long

     
  • Miljen Stankovic

    OK, I will.

     
  • Miljen Stankovic

    Alexandra,

    I've sent example DB backup and some other stuff to your email.
    Tell me if you need something else.

     
  • Miljen Stankovic

    Hi,

    I've tried it and now everything works OK. :-)

     
    • john alien

      john alien - 2023-01-13

      Thankyou, i have the same issue but now this issue is resolved

       
  • if ber

    if ber - 2021-10-23
    Post awaiting moderation.
  • Helin Marley

    Helin Marley - 2023-03-26

    We recently encountered an issue with a dependent library (gSOAP) but we were able to resolve it by switching the library. To further improve your experience, we recommend exploring the provider's capabilities, especially in the context of using dermal fillers.

     
  • Fahad Zaid

    Fahad Zaid - 2023-04-24

    In my opinion, simply implementing a schema may not be sufficient to address our data needs. It is imperative that we acquire and analyze comprehensive data sets in order to obtain valuable insights and make informed decisions. I would like to invite you to visit our website and further discuss our data requirements in detail. However, before we can proceed, we must first resolve the DNS issue that is currently hindering our progress. Once this issue has been addressed, we can then focus our attention on gathering and analyzing the necessary data to move forward.

     
  • Helin Marley

    Helin Marley - 2023-05-11

    If you're experiencing problems with role-playing dimensions, it's helpful to seek guidance and resources from platforms like Chicken Pressa https://chickenpressa.com. They offer valuable insights and information on various aspects of role-playing, assisting you in troubleshooting and resolving any challenges you may encounter. Explore their website for assistance in navigating and enhancing your role-playing dimensions.

     
  • jimmyguru

    jimmyguru - 2023-06-28

    If you are experiencing an error when browsing role-playing dimensions from Excel in Mondrian, specifically when setting dimension usage attributes "name" and "source" to different values, here are some suggestions:

    Check for any known issues or bug reports related to the specific versions of XMLA Connect, Pentaho BI Server, Excel, and Windows you are using. Look for any available patches or updates that may address the problem.

    Review the documentation and forums of Mondrian or the related software for any reported workarounds or solutions specific to this issue.

    Consider reaching out to the support or community channels of Mondrian, Pentaho, or the software components involved to seek further assistance. They may have additional insights or guidance on resolving the problem.

    It's important to ensure that all components, including Mondrian, are up to date and compatible with each other to minimize any potential compatibility issues. thanks

     
  • Chandia

    Chandia - 2023-12-22

    When encountering issues with role-playing dimensions, which typically arise in the context of data modeling and analysis, it's important to follow a structured approach to resolve them effectively. Role-playing dimensions refer to dimensions in a data warehouse that serve multiple roles within a single fact table. Here's how to address problems related to role-playing dimensions:

    1. Identify the Issue: First, pinpoint the specific problem or challenge you're facing with role-playing dimensions. Is it related to data inconsistency, querying difficulties, or reporting issues?

    2. Review Data Requirements: Understand the data requirements for each role of the dimension. Different roles may necessitate unique attributes or hierarchies.

    3. Create Separate Dimension Tables: If the roles of a dimension significantly differ, consider creating separate dimension tables for each role. This avoids data redundancy and ensures that each role has its appropriate attributes.

    4. Use Aliases: In cases where roles share many attributes, you can use aliases or views to differentiate between them. This way, you maintain a single dimension table with alias names for each role.

    5. Implement Proper Hierarchies: Define appropriate hierarchies for each role within the dimension. Ensure that hierarchies make sense and support the specific analytical needs of each role.

    6. Data Transformation: If necessary, perform data transformations to make the data compatible with the various roles. This could involve creating calculated fields or aggregating data differently for each role.

    7. Documentation: Document the roles, attributes, and hierarchies of the dimension thoroughly to ensure that all stakeholders understand how to use it properly.

    8. Testing and Validation: Rigorously test the changes you've made to ensure that they address the issues effectively without introducing new problems. Validate the data accuracy and consistency.

    9. User Training: If your changes impact end-users, provide training to ensure they understand how to work with the modified role-playing dimensions.

    10. Continuous Monitoring: Continue to monitor the performance and usability of the role-playing dimensions over time. Be prepared to make further adjustments as needed.

    11. Consult with Experts: If you're still facing challenges or if role-playing dimensions are a complex part of your data model, consider consulting with data modeling experts or seeking assistance from colleagues with relevant experience.

    Resolving problems with role-playing dimensions requires a combination of data modeling expertise, clear understanding of business requirements, and a structured approach to ensure that your data remains accurate, consistent, and useful for analytical purposes.

     
  • treavis headt

    treavis headt - 2024-02-20
    Post awaiting moderation.
  • Jorjdavid

    Jorjdavid - 2024-05-10

    Here are a few suggestions that might help:

    1. Check Mondrian Documentation: Review the Mondrian documentation and release notes to see if there are any known issues or limitations related to dimension usage attributes.

    2. Community Forums: Post your issue on forums or discussion boards dedicated to Mondrian or Pentaho. Other users or developers might have encountered similar problems and could offer advice or solutions.

    3. Update Software Versions: Ensure that you're using the latest https://survivorioapkpro.com/survivor-io-guide-tips-and-tricks/ version Mondrian, Pentaho BI Server, and Excel. Sometimes, issues like these are resolved in newer releases.

    4. Workaround: If there's no immediate fix available, consider adjusting your schema or query approach to work around the issue. This might involve restructuring your dimensions or queries to achieve the desired results without triggering the error in Excel.

    5. Contact Support: If you have access to support resources from Mondrian or Pentaho, consider reaching out to them for assistance. They may be able to provide more targeted help or guidance.

     

    Last edit: Jorjdavid 2024-05-10
  • Jorjdavid

    Jorjdavid - 2024-09-08

    Role-playing dimensions refer to dimensions in a data warehouse that serve multiple roles within a single fact table. Here's how to address problems related to role-playing dimensions:

    Identify the Issue: First, pinpoint the specific problem or challenge you're facing with role-playing dimensions.
    Check Mondrian Documentation: Review the Mondrian documentation and release notes to see if there are any known issues or limitations related to dimension usage attributes.

    Community Forums: Post your issue on forums or discussion boards dedicated to Mondrian or Pentaho. Other users or developers might have encountered similar problems and could offer advice or solutions. I would like to invite you to visit our website would like to invite you to visit our website and further discuss our data requirements in detail

     

    Last edit: Jorjdavid 2024-09-08
  • David Mark

    David Mark - 2024-12-02

    Check for any known issues or bug reports related to the specific versions of XMLA Connect, Pentaho BI Server, Excel, and Windows you are using. Look for any available patches or updates that may address the problem.
    With all this, they also think they could get banned from the game. But don’t worry—the Dr. Driving MOD Apk you download from here is 100% original, and you will not get banned.

     

    Last edit: David Mark 2024-12-17

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.