Is there any action to help to show distinct value in the column?
Is there a way to perform such task? Urgent help needed.
Could you make your requirement more clear? Do you want to just โShowโ unique values or delete the duplicates? Also which table and what type of view you want to show unique values? If there are 10 rows for a particular product in Table 1, which row out of those 10 you wish to retain? Any random or specific row.
Anyway, based on your description so far , you may wish to evaluate โgroup byโ feature of summary views.
Thank you for replying.
I am actually shaping my app for stocktake process. The staff will go around the store to scan for product barcode and count the quantity. However, each product will be placed at multiple locations.
Currently, I have a โItem Master Listโ table (containing the balanced stock and information of the items), โStocktake Itemsโ table and โDistinct Stocktake Itemโ table.
I am planning to create a form from the โStocktake Itemsโ table for staff to go to multiple locations to count items.
For the โDistinct Stocktake Itemโ table, I want to have an action to retrieve those โdistinctโ item description which appear in the โStocktake Itemsโ table. โDistinctโ means that I only want to show the item description once if the same item description appears many times in the โStocktake Itemsโ table.
Okay, thank you for your response. With your newly shared details, I believe the question tends more towards an app design aspect rather than a specific feature or expression query that the community is more suitable for. So it will be incorrect to suggest without knowing full details of your app requirements.
The below suggestion is with total disclaimer that it is based on just the information shared and please evaluate it fully at your end before proceeding or implementing. Also we may not continue this post thread further for design approach queries.
Anyway you may wish to consider having the table โStocktake Itemsโ as child table of โItems Master Listโ table. After that โStockTake Distinctโ could be removed because its columns are same as โItems Master Listโ just by adding โTotal Counted Quantityโ column. This newly added column โTotal Counted Quantityโ in โItems Master Listโ can be aggregted suitably from the child โStockTake Distinctโ table by using reference actions.
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |