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.
Unable to upload paginated report that has simple custom code to the PowerBI portal using the Powershell script.
Report is invalid. ErrorCode: rsUnexpectedCompilerError, Details: An unexpected error occurred while compiling expressions. Native compiler return value: [BC42105] Function TestFun doesnt return a value on all code paths. A null reference exception could occur at run time when the result is used..
The above error is shown for every report we try to upload.
Custom Code:
Public Function TestFun() As String
Return "hi"
End Function
Hi @sharvan270,
What type of license are you worked on? As the document said, currently you can only publish the paginated reports to the workspace that hosts in premium capacity.
Publish a paginated report to the Power BI service - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
Hello Guys,
Any help on this?
We are using the below url to post the rdl file.
https://api.powerbi.com/v1.0/myorg/groups/$GroupId/imports?datasetDisplayName=$fileName&nameConflict...
Is there any way to skip the compilation error and continue the upload ?
Thanks
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 |
---|---|
17 | |
2 | |
2 | |
1 | |
1 |