Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
when i am using custom code
for localizing Data
Public Function GetLocalizedValue(name as String, culture as String) as String
Try
Return PDSReports.LocalizedValue.GetString(TRIM(name), TRIM(culture) )
Catch ex As Exception
Return ex.Message
End Try
End Function
i got error like-
There is an error on line 2 of custom code: [BC30451] 'PDSReports' is not declared. It may be inaccessible due to its protection level.
i tried so many solutions ... guide me if you know some reference about it...thanks in advance ...#powerbireportbuilder
Where did you get this code? It's not valid VBA code, there is no built-in PDSReports object in paginated reports.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
3 | |
3 | |
3 | |
2 |