Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
How to get the big objects in custom visual? Primitive Value is unable to store more than 32767 characters.
I am using categoricalDataView.categories[infoFirstPosition].values[0] to get the data in custom visual, but its truncating the value to 32767 characters.
How we can overcome this?
Solved! Go to Solution.
Hi @VivekChadha,
This is a limitation of the data model in Power BI - text columns cannot return more than 32,766 characters, so if you'ew creating measures from these columns they will already be truncated before they hit the custom visual's data view. PrimitiveValue itself doesn't have a limit and supports regular JS strings.
If you wish to work around this in a custom visual, you will need to create a measure that combines multiple columns of <= 32,766 characters and add that to the data view instead.
Chris Webb (Power BI CAT) has a series of blog posts beginning here that show ways to model around these limits. The second post in the series is specifically what you'll be needing to do in your data model, but it's worth reading the whole series to understand the limitations you need to work with in Power BI.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @VivekChadha,
This is a limitation of the data model in Power BI - text columns cannot return more than 32,766 characters, so if you'ew creating measures from these columns they will already be truncated before they hit the custom visual's data view. PrimitiveValue itself doesn't have a limit and supports regular JS strings.
If you wish to work around this in a custom visual, you will need to create a measure that combines multiple columns of <= 32,766 characters and add that to the data view instead.
Chris Webb (Power BI CAT) has a series of blog posts beginning here that show ways to model around these limits. The second post in the series is specifically what you'll be needing to do in your data model, but it's worth reading the whole series to understand the limitations you need to work with in Power BI.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |