Let P P be a poset with unique minimal and maximal elements 0 ^ \hat {0} and 1 ^ \hat {1} . For each r r , let C r ( P ) C_r(P) be the vector space spanned by r r -chains from 0 ^ \hat {0} to 1 ^ \hat {1} in P P . We define the notion of a Hodge structure on P P which consists of a local action of S r + 1 S_{r+1} on C r C_r , for each r r , such that the boundary map ∂ r : C r → C r − 1 \partial _r: C_r\to C_{r-1} intertwines the actions of S r + 1 S_{r+1} and S r S_r according to a certain condition. We show that if P P has a Hodge structure, then the families of Eulerian idempotents intertwine the boundary map, and so we get a splitting of H r ( P ) H_r(P) into r r Hodge pieces. We consider the case where P P is B n , k \mathcal {B}_{n,k} , the poset of subsets of { 1 , 2 , … , n } \{1,2,\dots , n\} with cardinality divisible by k k ( k (k is fixed, and n n is a multiple of k ) k) . We prove a remarkable formula which relates the characters B n , k \mathcal {B}_{n,k} of S n S_n acting on the Hodge pieces of the homologies of the B n , k \mathcal {B}_{n,k} to the characters of S n S_n acting on the homologies of the posets of partitions with every block size divisible by k k .