I am doing a lookup based on a dataverse table in OnStart. Below is my code.
Very confusing why the lookup result is empty. I also attach the screenshot of the table.


Set(
CurrentAppVersion,
"151"
);
Set(
LatestAppVersion,
LookUp(
CSHHR_AppVersions,
IsLatest = 1
).AppVersion
);
If(
Value(CurrentAppVersion) <> Value(LatestAppVersion),
Notify(
"A newer version of this app is available. Please update to the latest version.",
NotificationType.Warning
)
)