Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Fetch entire data set

Is it possible to fetch the entire dataset (not just the user-given dimensions and measures) programmatically in a custom visual?

 

  • Hi Anonymous,

    This is definitely not possible with custom visuals and is much the same way the core visuals work. Visuals don't know about the data model - they just know what data has been given to them from Power BI for the given data roles (field containers) specified in the visual capabilities and their logic will act upon it as designed. 

    Regards,

    Daniel


    If my post solves your challenge, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂

1 Reply

  • dm-p's avatar
    dm-p
    Super User

    Hi Anonymous,

    This is definitely not possible with custom visuals and is much the same way the core visuals work. Visuals don't know about the data model - they just know what data has been given to them from Power BI for the given data roles (field containers) specified in the visual capabilities and their logic will act upon it as designed. 

    Regards,

    Daniel


    If my post solves your challenge, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂