Hello,
No idea what i do wrong,
But the notification popup always even data has been found?
This one gives me an error
invalid argumenttype
ClearCollect(
MySales;
If(
IsEmpty(
Filter(
OnlineData;
(MonthValue = "FEBRUARY 2024")
)
);
Notify("No Data."; NotificationType.Error);
ForAll(
GroupBy(
AddColumns(
Filter(
OnlineData;
(MonthValue = "FEBRUARY 2024")
);
"LogText";
Last(Split(CODE; "-")).Value
);
"LogText";
"MySales"
);
{
LogText: ThisRecord.LogText;
MySales: Text(
Sum(ThisRecord.MySales; PRICE);
"$#,###0.00"
)
}
)
)
)
This parts works... weird when i do 2x ;;
ClearCollect(
MySales;
If(
IsEmpty(
Filter(
OnlineData;
(MonthValue = "FEBRUARY 2024")
)
);;
Notify("No Data."; NotificationType.Error);
ForAll(
It works without error, but then the notification keeps popup instead only when no data has been found
What do i wrong?
Thank you