cancel
Showing results for 
Search instead for 
Did you mean: 

Calculation in thr CDS for multiple product's prices is working?

0 Kudos
186

Hi experts,

We created the CDS for product prices as it says here https://help.sap.com/viewer/13d84c47bb6749a188fd53915c256516/2202.500/en-US/38ec24c4bdf5420a9eb07731....

But in the document there is one product's price for one country. And how it is working when several price for one country? E.g. price with discount and price without discount.

We created the calculation which displays current price (condition when price with discount > 0 so take it else take price without discount), but it doesn't work. The content studio displays this error:

Does someone faced with this situation? How we should add calculation for choosing current price?

View Entire Topic
Abd_Am_K
Active Participant
0 Kudos

Hi ekakur,

You can try to add an identifier for the discounted prices and add a filter to remove the duplicate/non unique rows.

Hope this helps