Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
priya1988nath
New Member

python or R visualizations when using DirectQuery?

is it possible to use python or R visualizations when using DirectQuery?

 

Thanks

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Yes!

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

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



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
priya1988nath
New Member

@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



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
TomMartens
Super User
Super User

Yes!

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.