cancel
Showing results for 
Search instead for 
Did you mean: 

Help Needed to Resolve Visual Filter Configuration Issue in SAP Fiori Elements ALP

salvakz
Explorer
0 Kudos

Hi Everyone,

I am currently facing an issue with the Analytical List Page (ALP) in SAP Fiori Elements. I'm trying to configure a visual filter but am encountering a specific error message:

"The dimension MonthYear or the measure TotalPriceNet or both are either NOT given in the chart, or IS given but undefined in metadata. Corresponding chart cannot be displayed as VisualFilter."

I have checked my OData service and the metadata seems to include definitions for both "MonthYear" and "TotalPriceNet". However, despite this, the visual filters refuse to display, and I am continuously running into the above error. Here are the steps I've already taken:

  1. Verified that "MonthYear" and "TotalPriceNet" are included in the $metadata document of my OData service.
  2. Checked the annotations related to visual filters to ensure they are correctly pointing to these dimensions and measures.
  3. Reviewed the configurations in the manifest.json file to ensure all settings related to visual filters are correct.
  4. Tried refreshing metadata and clearing browser cache to see if there was a loading issue.

Unfortunately, none of these steps have resolved the problem. I suspect there might be an issue with how the annotations are set up or possibly a version mismatch between the OData service and Fiori Elements.

Does anyone have experience with this type of issue or suggestions on what else I might try? Any advice or tips would be greatly appreciated as I am quite stuck at this point.

 

Image error:

salvakz_0-1714961421905.png

 

And my CDS Annotation:

salvakz_1-1714932407620.png

Thank you in advance for your help!

View Entire Topic
sireesha_varada
Employee
Employee
0 Kudos

Hello,

By looking at the screenshot, the qualifier name mismatch for VisualFilter is there.

Please make visualFilterDate a qualifier instead of visualDate in UI.Chat annotation.

Thanks for posting the question.

salvakz
Explorer
0 Kudos

Thanks for help, I think it's not my problem. Sorry my image CDS annotation is not displayed fully. My complete annotation below:

{

qualifier: 'VisualFilter',

text: 'Filter: Travels by Status',

visualizations: [{

type: #AS_CHART,

qualifier: 'visualDate'

}]

}

variant qualifier is 'VisualFilter' but in visualizations property qualifier refer to correct UI.Chart with qualifier visualDate