Determining the sex of Kim Kardashian's baby was more difficult than you'd think, according to her sister Khloe Kardashian.

"It was crazy because we went to three different doctor's appointments and the baby kept sitting, like, Indian-style," Khloe said during a Wednesday appearance on NBC's Today show, Us Weekly reported.

"We couldn't tell the sex. It was so frustrating, so we were so happy to finally find out."

Kim will publicly reveal the sex of her baby with rapper and boyfriend Kanye West during Keeping Up with the Kardashians' season premiere on Sunday, June 2 at 9PM ET/PT on E!.

While West reportedly won't be present during the episode when Kim, Khloe and their mom Kris Jenner discover whether the baby is a boy or girl at the doctor's office, Khloe insisted things between the new parents-to-be are "great."

"He was at all the previous [appointments] where we never could find out the sex of the baby," Khloe reportedly explained. "So that was just the one he wasn't at. But we were videotaping it on our iPhones and everything... I think he had a concert."

Us had reported in February Kardashian and West are having a little girl.

"They're over the moon!" a source close to the couple told Us. "Kanye always wanted a girl."

Kardashian and West's first child together is due in July, and the couple have reportedly decided to take their baby on the road for West's tour several months after his or her birth.

The pair separately announced Kardashian's expecting in late December. West first spilled the news during his concert in Atlantic City when the reality TV star was reportedly 12 weeks pregnant, leading Kardashian to confirm her pregnancy only days later.