Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

The number of comments to the report on the Report Server

Hello!

One of the published reports had the following error when adding a new comment:
"You cannot add new comments. The number of comments has reached its maximum (100)."

Tell me, is it possible to increase the number of comments to the report in the settings? How can I do that?

1 REPLY 1
Medina
Helper II
Helper II

Hi sleep_sonya,

There is no setup to change the limit of 100 comments per a report, as far as I know. The comments are stored in the table Comments and there is a stored procedure- [dbo].[GetCommentsCountByItemID]- Reporting Services execute to check for the number of comments stored in the table.

 

You can alter the code inside it to return a value less than 100, see below

Current

SELECT COUNT(*) FROM [Comments] as C WHERE C.[ItemID] = @ItemID

After change
SELECT 1 FROM [Comments] as C WHERE C.[ItemID] = @ItemID

 

That should do the trick.

Spoiler
I DO NOT RECOMMEND PLAYING WITH THE SSRS/PBI RS STORED PROCEDURES

I will recommend putting in place a policy on how many comments are allowed and how they will be deleted/archived and educating your users. 

 

Thank you!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors