#community-help

Finding Min and Max Price from Imported Data

TLDR Amrit asked how to get the min and max price from an imported dataset. Kishore Nallan suggested faceting on the price field.

Powered by Struct AI
May 19, 2023 (7 months ago)
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
11:03 AM
i have imported products data
i want min and max price from the response (how will i get this)
show that i can show in frontend for filter
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:03 AM
Facet on the field. It will be available in the facet stats in the response
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
11:04 AM
you mean facet on price field
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:04 AM
Yes
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
11:04 AM
Thank you