2024 May 05 7:08 PM - edited 2024 May 06 3:10 AM
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:
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:
And my CDS Annotation:
Thank you in advance for your help!
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
84 | |
29 | |
9 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.