Template Docs OrderBy()

Good Day,

I need help creating a template to print a table items report, order by location as a group.

The formula used in template does not give the desired result.

This is my table name "ITEMS LIST"

KEYITEMSLOCATIONPCS
1TVWarehouse15
2LightWarehouse10
3ShelfWarehouse6
4BookShop30
5HeadphoneShop45

---------------------------------------------------------------------

ITEMS REPORT

DATE: <<NOW()>>

<<START:ORDERBY(ITEMS LIST[KEY],[LOCATION],TRUE)>><<[LOCATION]>>

KEYITEMSLOCATIONPCS
<<KEY>><<ITEMS>><<LOCATION>><<PCS>>

<<End>>

---------------------------------------------------------------------

I got a report for each item in a separate table

A1.JPG

---------------------------------------------------------------------

I need a correct formula to display the report this way.

A2.JPG

 

Solved Solved
0 4 305
2 ACCEPTED SOLUTIONS


@Suvrutt_Gurjar wrote:

Here is a great tip by @Aleksi 

Grouped list from one table - Google Cloud Community


 

Thank you so much @Suvrutt_Gurjar   . I go with @Aleksi  His idea works perfectly 👍

 

1- This what i did. Create a Virtual Column's name [GROUP]

Screenshot_٢٠٢٣٠٦١٤_١٩٣٧٤٧_Samsung Internet.jpg

 

2- With this formula

Screenshot_٢٠٢٣٠٦١٤_١٩٣٨٠٣_Samsung Internet.jpg

 

3- And formula on template

Screenshot_٢٠٢٣٠٦١٤_١٩٣٩٠٥_Samsung Internet.jpg

 

4- And this what i was looking about 

Screenshot_٢٠٢٣٠٦١٤_٢٠٠١٤٢_Samsung Internet.jpg

View solution in original post

4 REPLIES 4

DATUM: <<NOW()>>

<<Start:FILTER(“ITEMS LIST”,[.KEY]=MAXROW(“Device List”,“_Rownumber”, [SPEICHERORT]=[_THISROW-1].[SPEICHERORT]))>><<SPEICHERORT>>

.KEYARTIKELORTPCS
<<Start:FILTER(““ITEMS LIST”, [SPEICHERORT]=[_THISROW-1].[SPEICHERORT])>>
<<[.KEY]>>
<<GEGENSTÄNDE>><<LAGE>><<PCS>><<END>>  

 

@Tommy62 

I will try your idea thank you for help 🙂


@Suvrutt_Gurjar wrote:

Here is a great tip by @Aleksi 

Grouped list from one table - Google Cloud Community


 

Thank you so much @Suvrutt_Gurjar   . I go with @Aleksi  His idea works perfectly 👍

 

1- This what i did. Create a Virtual Column's name [GROUP]

Screenshot_٢٠٢٣٠٦١٤_١٩٣٧٤٧_Samsung Internet.jpg

 

2- With this formula

Screenshot_٢٠٢٣٠٦١٤_١٩٣٨٠٣_Samsung Internet.jpg

 

3- And formula on template

Screenshot_٢٠٢٣٠٦١٤_١٩٣٩٠٥_Samsung Internet.jpg

 

4- And this what i was looking about 

Screenshot_٢٠٢٣٠٦١٤_٢٠٠١٤٢_Samsung Internet.jpg

Top Labels in this Space