Logical fallacy

False analogy

Infers that a target case has some further property because it resembles a source case, although the shared properties fail to support that transfer.

Also called Weak analogy, Faulty analogy, Misleading analogy

A household piggy bank and a city hall matched only by their spreadsheets

Examples

A city budget is like a household budget because both use spreadsheets, so the city can never borrow in a recession.
Spreadsheets are incidental to whether governments can borrow. The analogy needs similarities in financing and obligations.
An online classroom is like a television because both use a screen, so students in it cannot interact.
A battery and the economy both store something, so the economy will discharge at a steady electrical rate.

A similar case that can be sound

Two contracts impose the same obligations using identical operative language, which supports reading the disputed clause the same way.