Hi
My data source in google sheet and my data column like talk time
However, when I tried to connect to Power BI, I am getting this error. I tried to format the column in google sheet into duration and text but had no success
this is my original data in the google sheet
Error in Power BI
Please advise
Solved! Go to Solution.
One way to do that would be to convert that column to text type, and then add a custom column with this expression (returns days in decimal form). From there, convert that new column to decimal and load it. See this article for best practices on how to deal with durations from there.
Calculate and Format Durations in DAX – Hoosier BI
= let
inputlist = Text.Split([Duration], ":"),
numberlist = List.Transform(inputlist, each Number.FromText(_)),
minutes = numberlist{0} * 60 + numberlist{1} + numberlist{2}/60
in
minutes/(60*24)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@bourne2000 I think you need to create a duplicate column in Google Sheet that would be a text version of
[Wrap Up Time] and then you are going to get the text version of that column
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
One way to do that would be to convert that column to text type, and then add a custom column with this expression (returns days in decimal form). From there, convert that new column to decimal and load it. See this article for best practices on how to deal with durations from there.
Calculate and Format Durations in DAX – Hoosier BI
= let
inputlist = Text.Split([Duration], ":"),
numberlist = List.Transform(inputlist, each Number.FromText(_)),
minutes = numberlist{0} * 60 + numberlist{1} + numberlist{2}/60
in
minutes/(60*24)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
191 | |
68 | |
63 | |
56 | |
52 |
User | Count |
---|---|
251 | |
207 | |
102 | |
70 | |
70 |