SELECT Bot.BetType,
Sum(Bot.Result) AS Won,
IIf([Bot]![Market Name] Like "*Place*", "Place", "Win") AS Type
FROM Bot
GROUP BY Bot.BetType, Type;
Getting error:
You tried to execute a query that does not include the specified expression
If([Bot]![Market Name] Like "*Place*", "Place", "Win")
as part of an aggregate function.
I did not find a result from google. If you have any questions, feel free to ask.