Hi Need help with doc expression for a workflow with the expected output (PDF): there's only one data table, appreciate your help thanks
Product 1 | Chemical Name 1 | Usage 1 | CAS1 | Certificate 1 |
Product 2 | Chemical Name 2 | Usage 2 | CAS2 | Certificate 2 |
Product 3 | Chemical Name 3 | Usage 3 | CAS3 | Certificate 3 |
Solved! Go to Solution.
This?
<<Start: FILTER("Applications", ISNOTBLANK(FILTER("Product Info", IN([_THISROW-1].[Application], [Applications]))))>>
<<[Application]>>
<<Start: FILTER("Product Info", IN([_THISROW-1].[Application], [Applications]))>>
<<[Product]>>
<<End>>
<<End>>
Like this:
<<Start: ORDERBY(FILTER("Data Table", ([_RowNumber] = MIN(SELECT(Data Table[_RowNumber], ([Manufacturer] = [_THISROW-1].[Manufacturer]))))), [_RowNumber], FALSE)>>
<<[Manufacturer]>>
<<Start: ORDERBY(FILTER("Data Table", ([Manufacturer] = [_THISROW-1].[Manufacturer])), [_RowNumber], FALSE)>>
<<[Product]>>
<<[Chemical Name]>>
<<[Usage]>>
<<[CAS]>>
<<[Certificate]>>
<<End>>
<<End>>
thank you very much, it worked,
but I also have to group data by individual value in "category" where column "category is enum list, (each product can belong to multiple categories) , I need a pdf tables group by unique "category"
the above syntex does not work in this case. appreciate your help thank you
Please explain more. I do not understand.
How to generate pdf product info group by individual value in "Application" column when it's a list
Applications: Thickener
Product | Process Platform |
Metolose 90SH-100000 | Direct Compression , Wet Granulation |
Metolose 90SH-15000 | HME , Coating |
Metolose 90SH-4000 | Direct Compression , Wet Granulation |
Applications: Binders
Product | Process Platform |
Metolose 90SH-100000 | Direct Compression , Wet Granulation |
Metolose 90SH-15000 | HME , Coating |
Metolose 90SH-4000 | Direct Compression , Wet Granulation |
Data Table: "Product Info"
Product | Applications | Process Platform |
Metolose 90SH-100000 | ThickenerใFilm formingใBinders | Direct Compression , Wet Granulation |
Metolose 90SH-15000 | Thickener | HME , Coating |
Metolose 90SH-4000 | ThickenerใBinders | Direct Compression , Wet Granulation |
Metolose 65SH-4000 | ThickenerใBinders | HME , Coating |
Metolose 65SH-400 | ThickenerใBinders | Direct Compression , Wet Granulation |
Metolose 65SH-50 | Thickener | HME , Coating |
Metolose 60SH-10000 | Thickener | Direct Compression , Wet Granulation |
Metolose 60SH-4000 | Thickener | HME , Coating |
Metolose 60SH-50 | ThickenerใBinders | Direct Compression , Wet Granulation |
Metolose 90SH-100000SR | Sustained Release agent | HME , Coating |
Metolose 90SH-15000SR | Sustained Release agent | Direct Compression , HME , Coating |
Metolose 90SH-4000SR | Sustained Release agent | Wet Granulation |
Metolose 90SH-100SR | Sustained Release agent | Direct Compression , HME , Coating |
Aqoat AS - MF | Enteric ReleaseใHME carrier | HME, Wet Granulation |
Aqoat AS - MMP | Enteric ReleaseใHME carrier | HME, Wet Granulation |
L-HPC LH 11 | BindersใDisintegrant | Direct Compression , HME , Coating |
L-HPC LH 21 | BindersใDisintegrant | Direct Compression , HME , Coating |
L-HPC LH 22 | BindersใDisintegrant | Direct Compression , HME , Coating |
The Product Info table you present above cannot be readily used to produce the report. To do what you want, you'll need a table that identifies each distinct Application. A simple table with only one column that lists all possible Application values would be sufficient.
Sorry, yes, there's a simple "Application" table as you mentioned above
how to write the doc template expression when it's for workflow automation pdf?
thank you
This?
<<Start: FILTER("Applications", ISNOTBLANK(FILTER("Product Info", IN([_THISROW-1].[Application], [Applications]))))>>
<<[Application]>>
<<Start: FILTER("Product Info", IN([_THISROW-1].[Application], [Applications]))>>
<<[Product]>>
<<End>>
<<End>>
YES!!!!! it works, thank you soooo very much. Appreciate your help. You are amazing.
User | Count |
---|---|
28 | |
14 | |
4 | |
3 | |
3 |