(The) X Factor

What does the idiom “(The) X Factor” mean?

Definition:

An aspect of a situation with an unknown impact; an indefinable appeal

For example:

“The votes of women will be an X factor in this election. No one knows which way they’ll go.”