Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
is it possible to use python or R visualizations when using DirectQuery?
Thanks
Solved! Go to Solution.
Yes!
Regards,
Tom
Hey @priya1988nath,
I recommend this article as a start for data visualization using R: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-r-visuals and this article for data viz with Python: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-python-visuals.
The nature of the data viusalizations does not depend on the mode of of the dataset, meaning it's independent of the dataset is in import mode or direct qurey mode.
Due to limitations of R and Python data visualizations regarding. interactivity and compatibility with the latest supported R/Python runtimes and the supported packages I always recommend the Deneb visual instead. The Deneb visual integrates the vega and vega-lite javascript libraries, here you will find more information about the Deneb visual: https://deneb-viz.github.io/
Hopefully, this provides what you are looking for.
Regards,
Tom
@TomMartens , thank you for your response. do you have useful references/ links on this topic?
Hey @priya1988nath,
I recommend this article as a start for data visualization using R: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-r-visuals and this article for data viz with Python: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-python-visuals.
The nature of the data viusalizations does not depend on the mode of of the dataset, meaning it's independent of the dataset is in import mode or direct qurey mode.
Due to limitations of R and Python data visualizations regarding. interactivity and compatibility with the latest supported R/Python runtimes and the supported packages I always recommend the Deneb visual instead. The Deneb visual integrates the vega and vega-lite javascript libraries, here you will find more information about the Deneb visual: https://deneb-viz.github.io/
Hopefully, this provides what you are looking for.
Regards,
Tom
Yes!
Regards,
Tom
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |