F
Filamentβ€’7mo ago
Jack

Exports

Hi all, Is it possible to create an exporter that gets all the names in my model column 'short_code', groups them, and then shows how many entries in the model the 'short_code' occurs in a totals column? Thanks.
11 Replies
Jack
JackOPβ€’7mo ago
Yeah i've gone through the docs, im clearly not understanding how its possible to get a distinct list of short_codes then the total they occur on the model?
BlackShadow
BlackShadowβ€’7mo ago
Thats not what export is. Probably need to look at summarize
Jack
JackOPβ€’7mo ago
Perfect, thats what I was looking for - if its possible or not thank you
BlackShadow
BlackShadowβ€’7mo ago
Just read the docs πŸ˜›
Jack
JackOPβ€’7mo ago
Yes, I have, but I don't see how it's possible to get a distinct list of short_codes and then the occurrence therein in the model? you can't mix counts with distinct right? Just doens't make sense - will try use matts excel package instead
BlackShadow
BlackShadowβ€’7mo ago
πŸ€·β€β™‚οΈ
Jack
JackOPβ€’7mo ago
TY
BlackShadow
BlackShadowβ€’7mo ago
Just try stuff out and you might find it, im not sure if its meant like that
Jack
JackOPβ€’7mo ago
Okay thanks
Want results from more Discord servers?
Add your server