Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
I`m having problems with a visualization which I have created with R. It perfectly works on my power bi desktop account , but when I want to see it at app.powerbi.de, I get an Script Runtime Error.
In particular, it is because the function make_datetime from R package lubridate is not found.
I would be very happy, if you could help me!
Solved! Go to Solution.
Hi all,
No, there are no column names with unusual letters.
But I managed to get around this problem.
I used some other functions of lubridate.
Instead of make_date(), I used floor_date() to truncate date seconds. The problem then was, that it threw an error again, saying that a timezone had to be explicitly specified. Luckily lubridate also has a function for that: with_tz(). So my code for truncating the seconds became:
lubridate::with_tz(lubridate::floor_date(TimeColumn, unit= "minute")), tzone = "GMT")
...Aaand it works 🙂
Hi all,
No, there are no column names with unusual letters.
But I managed to get around this problem.
I used some other functions of lubridate.
Instead of make_date(), I used floor_date() to truncate date seconds. The problem then was, that it threw an error again, saying that a timezone had to be explicitly specified. Luckily lubridate also has a function for that: with_tz(). So my code for truncating the seconds became:
lubridate::with_tz(lubridate::floor_date(TimeColumn, unit= "minute")), tzone = "GMT")
...Aaand it works 🙂
Please check your table column name to see if there are non-English term. If exists, please rename to an English term and republish to see the result.
Best Regards,
Herbert
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
20 | |
18 | |
18 | |
9 |