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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |