We discuss some aspects related to holography of Anti-de Sitter (AdS) dyonic hairy black holes, which break the conformal symetry of the boundary. We use counterterms for the scalar field that satisfies mixed boundary conditions to compute the Euclidean action and dual stress tensor. We apply these results to show that the Cardy-Verlinde formula is not satisfied. However, when the magnetic (or electric) charge vanishes, the conformal symmetry is preserved and the entropy of the black hole can be put in the Cardy-Verlinde form. In our analysis, there is no need of adding extra finite counterterms and, in this particular case, we explicitly show that our results match the ones obtained from using the superpotential as a counterterm.