El Pluscuamperfecto Progresivo

Spanish past perfect progressive

El Pluscuamperfecto Progresivo is a tense that describes actions in progress in the past.

It uses "estar" in El Pluscuamperfecto followed by a gerund.

It is used for those actions in progress in the past that "had been happening". 

Yo había estado bailando con Carlos.I had been dancing with Carlos.

See also: Spanish Past Tenses and All Spanish Tenses

Let me take a look at that...