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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-stephen-msft
Community Support
Community Support

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors