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


    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 ?
  • Replied 3 August 2017, 4:01 pm EST


    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 <span id="pagetitle">SchemaBuilder API to modify an existing schema so that it does not have </span>duplicate measure names.

    Please go through this link which provides information regarding how to modify a Schema using the <span id="pagetitle">SchemaBuilder API:</span>

    Best Regards,
Need extra support?

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

Learn More

Forum Channels