Passing out

Is passing out during pregnancy common? I was at work, sitting at my desk when all of a sudden my eyes went funny then next thing I know I'm waking up with the men from the office looking at me all worried. I felt floaty when I woke and light headed. After I got some fresh air I was fine. But I have no idea what happened during that time! (I'm nearly 24w)