They're barely comparable, but if you're forcing a choice, Super Smash Bros. Brawl has the edge. It's a deep, endlessly replayable fighting game with a large roster and a substantial single-player campaign.
Just Dance 2 is a party game built for a room full of people and a few minutes of fun at a time. Pick Brawl for depth and longevity, Just Dance 2 for a family gathering.