I can imagine a rare example: someone has two bachelor's degrees. The person tells you "I'm going to put the statistics subject into my degree". Then you could ask: "I hvilken grad?" (In(to) which degree?) - But that's basically a thought experiment.
You can assume that "I hvilken grad" will always mean "To what degree".