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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.

Top Solution Authors