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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Python and yfinance

Hello everybody,

 

I write a very simple code (python) with yfinance

import yfinance as yf
data = yf.download("ALO.PA", period="1d", interval="1h")
print (data)
 
On BI I use the plugin candlestick but the only problem I have is that the time (each hour) in not taken appart.
I think I use to create a measu
2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry, not very clear.

Can you provide some detailed screenshots to describe the problem?

Pay attention to protecting privacy.

Is your question related to the Power BI Mobile App?

Is it working properly on Power BI Desktop?

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hello,

I think I choose the wrong category on the  support forum.. plus it's more a python problem I think

But here is my problem :

When I use my code in the terminal, you can see that there is the date :

script python yfinance.PNG

The code shows the stocks of the day and actualised it every hour as you can see. 

But when I use it in power bi, there is not the date/hour :

script python yfinance bi.PNG

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors