Forum Discussion
GeorgeBramhall1
3 years agoQrew Member
Not sure how I would use the Max function in a Query formula.
------------------------------
George Bramhall
------------------------------
------------------------------
George Bramhall
------------------------------
MarkShnier__You
Qrew Legend
3 years agoThe formula queries do not currently support Min or Max. The exception to that is that the Quarry results of returns and record ID sequence so if you happen to want to know the men or max of the record ID eight then there is a way to purse that out.
I do know that there is a Jinja Syntax that you can use in the Pipeline when you search a set of records it can return the highest and lowest value. I'm not the expert on that syntax but if that's useful we could try to figure that one out.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
I do know that there is a Jinja Syntax that you can use in the Pipeline when you search a set of records it can return the highest and lowest value. I'm not the expert on that syntax but if that's useful we could try to figure that one out.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
- GeorgeBramhall13 years agoQrew MemberThanks Mark,
I am trying to use the query result to filter a report so the pipeline approach will not work. For the same reason, I don't think the Max record id will help. I do have a multi-text list of values from a query, but I don't know how to get the maximum value in that list in the query result.
------------------------------
George Bramhall
------------------------------ - DonLarson3 years agoQrew EliteYou can get a Max or Min value with a Jinja expression. Credit goes to @Doug Henning
Here is the max expression:
{{querystepnumber|max(attribute=''searchfield'')|attr(''field_to_evaluate'')}}
------------------------------
Don Larson
------------------------------- PrashantMaheshw3 years agoQrew Captain@Don Larson slowly building his arsenal of Jinja queries
------------------------------
Prashant Maheshwari
------------------------------