List of deal with at least some line items and amount

Hi! I need a specific list of deals.

In particular, I need a list of deals where there is at least 1 line items with custom property CODICEMARCA equal to 304 and the deals must have at least 400 euros amount, where line items with CODICEMARCA equal to 304 contribute at least of those 400 euros.

Is it possibile?

Thanks!

Marco

Hi @Marcolì

You need to add a filter pulling data from Line item

If you then add the criteria por property CODICEMARCA=304 AND Deal amount is "greater than or equal to 400euros, that should pull these deals.

Hi @CateDuarte thanks for the answer :slightly_smiling_face:

The problem about that solution is that include also deals with some line items with CODICEMARCA equal to 304 and deal amount at least 400 euros but the sum amount of value of line items with 304 is less than 400 euros.

Hi @Marcolì

Maybe I am not fully understanding but maybe you can add the Net price (line item value) and combine with the CODIMARCA=304

@Marcolì you can also try fetching these details using APIs.

Hi @Marcolì,

This requires / can be done with a roll-up property: Create calculation and rollup properties

The approach would be to create a roll-up property on the deal that sums up the amount of the line items, with the condition that CODICEMARCA = 304.

Once this property is created, you can build lists to filter for deals where this roll up property is greater than or equal to 400.

This cannot be done directly within a list, it requires the above calculation.

Best regards

Hi @Marcolì,

This requires / can be done with a roll-up property: Create calculation and rollup properties

The approach would be to create a roll-up property on the deal that sums up the amount of the line items, with the condition that CODICEMARCA = 304.

Once this property is created, you can build lists to filter for deals where this roll up property is greater than or equal to 400.

This cannot be done directly within a list, it requires the above calculation.

Best regards