What Is The Best Data Format For A Time Series In A Python Visualization In Power Bi?
As of today, August 9 2018, Power BI supports Python Visualizations. They've had support for R Visualizations before, but I still find these integrations to be a bit awkward. Let m
Solution 1:
I didn't encounter errors that you've mentioned. Have you dropped in both columns into Values
?
import matplotlib.pyplot as plt
plt.plot(dataset['Date'], dataset['Value'])
plt.show()
UPDATED with M query:
letSource = Csv.Document(File.Contents("C:\your-directory..\timerseries.csv"),[Delimiter=",", Columns=2, Encoding=1252, QuoteStyle=QuoteStyle.None]),
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Date", typedate}, {"Value", Int64.Type}})
in
#"Changed Type"
Post a Comment for "What Is The Best Data Format For A Time Series In A Python Visualization In Power Bi?"