I am trying to populate a browse gallery with data form Table1 grouped by PRODUCTO, and I want to add as well an image colunm from the original table, but Power Apps cannot recognize this new column as image data. I tried to use [image] after the name of the new column as it is required in excel files, but unsuccesfully.
This is the code I am using:
SortByColumns(Search(Filter(AddColumns(GroupBy(Table1;"PRODUCTO";"NuevaTabla");"TStock";Sum(NuevaTabla.STOCK;STOCK);"TMin";Sum(NuevaTabla.MINIMO;MINIMO);"IMAGEN";NuevaTabla.IMAGEN);TMin -TStock >0);TextSearchBox1.Text; "PRODUCTO");"PRODUCTO";If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))