Filtering and sorting error when duplicate measure names exist

Posted by: mouna1619 on 3 August 2017, 4:01 pm EST

  • Posted 3 August 2017, 4:01 pm EST

    Hello,



    It is possible have multiple measures with the same name. But in this case, if i try to sort or filter, it come with an error saying "an entry with same key already exists". when i create an analysis report, i am importing many fields and it automatically creates measures. furthermore, there are other methods to create measure internally in the analysis report. i ave to add validation to check at all the places to ensure there are no duplicate measure names. is it possible to avoid duplicate measure names internally ?
    2012/10/Capture-2.PNG
  • Replied 3 August 2017, 4:01 pm EST

    mouna1619,

    This is an expected behavior as your schema should not not contain any Two measures that have the same name. The only way to avoid duplicate measure names is to parse the schema definition such that It does not contain measures with same names. You could use the SchemaBuilder API to modify an existing schema so that it does not have duplicate measure names.

    Please go through this link which provides information regarding how to modify a Schema using the SchemaBuilder API:

    http://helpcentral.componentone.com/nethelp/ActiveAnalysis2WebHelp/ModifyASchema.html


    Best Regards,
    Abhishek
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels