Hello, I want to collect the products I have sold on different dates by grouping them in a single line for micros Kod
My Gallery cod is here
With({_data: Filter(konsol; CUSTOM_GURUP = Dropdown17_8.Selected.Result &&
Tarih >=dpfrom.SelectedDate && Tarih <=dpto.SelectedDate
)};
With({_innerData:
AddColumns(_data;
"_sum"; Sum(_data; SALES);
"_pop"; Average(_data; SALES);
"_cost"; COSTPRICE / NET_SALES_PRICE;
"total_sales"; SALES*NET_SALES_PRICE
)
};
AddColumns(_innerData;
"_costAvg"; Average(_innerData; _cost))))
