Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Using Python Instead of Measures

Hey all,   Here's some background: I'm very familiar with python pandas. Not so familiar with Power BI measures. It's been ok, but DAX coding just doesn't come so easily to me. I have a simple que...
  • TomMartens's avatar
    TomMartens
    7 years ago

    Hey Anonymous ,

     

    I would not consider it a shame, as DAX is a "query language", whereas python is a "general purpose" programming language of course with great data processing support eg. pandas, ... not to mention all the things possible if we are considering more advanced algorithms.

     

    But DAX is designed to wade through billions, trillions of rows in real time, meaning a user changes the slicer selection.

     

    Personally I'm / we are (at enterprise level) using python to create more "composed" visuals, where the composition is more important than the interactivity provided by the default visuals that are based on d3.js.

    From an enterprise perspective we are not using python from within Power BI for data transformation directly, but of course python can be used together with Azure Databricks, providing tremendous possibilities :-)

     

    Regards,

    Tom