Here are some examples:
* "I asked my boss for a raise, but no dice." (The boss refused the request.)
* "I tried to get tickets to the concert, but no dice. They were all sold out." (It wasn't possible to get tickets.)
* "We wanted to go to the beach today, but no dice. It's raining." (The plan was rejected because of the weather.)
The origin of the phrase is likely from the game of craps, where dice are rolled to determine the outcome. Rolling a "7" or an "11" is a winning combination, while other numbers are losing. So, "no dice" essentially means "you didn't roll a winning number."