The 100 never changes, because a percentage is a number compared to 100, the other numbers will vary, you will be given two and need to find the thrid.
Another way to think of this is
Since 68 is your percent, and the problem asks "of 50" you substitute what you know
So 34 is 68% of 50. And you can use this formula for any percentage problem you need.