Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Error Message 1:
I keep getting the following error on app.powerbi.com:
"Error in pivot_wider(data, names_from=names,values_from=values): could not find function "pivot_wider""
I load the 'tidyr' package as a required library.
I get the same error when using "spread" instead of pivot_wider.
Error Message 2:
When I specify the function using:
tidyr::pivot_wider(data, names_from=names, values_from=values)
I get a different error: "Error in loadNamespace(name): there is no package called 'tidyr'".
PowerBI Desktop everything works perfectly fine. It's only on the published PowerBI report that I get the error.
Question:
What can I do to resolve this issue? Alternative library / function to 'pivot_wider' or 'spread'?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.