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

Join 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.

Reply
Roman-Korovets
Frequent Visitor

Possibility of exceeding value "dataReductionAlgorithm" from capabilities.json

Hi there!

I have a limit of "9000" of rows inside capabilitys.json, however some users would like to have much more.

Unfortunately, I'm not able to change the value in "capabilitys.json" file.

 

I'm wondering if it is possible to create an option on format pane which allow user to set the own limit for rows

(bigger than value in capabilitys.json) 

RomanKorovets_0-1730195826635.png

 

@dm-p, could you help me with it? Or any idea? 

 

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hey @Roman-Korovets - sorry, I missed your tag. You can control the window size from the properties pane using the customized data reduction API. Note that the documentation doesn't state this but the example shows the exact object/property names (dataReductionCustomization.rowCountdataReductionCustomization.columnCount) that you must use for this to work in a visual, as they seem to have been reserved by MS for this purpose; you can't put them anywhere in the properties pane. I initially tried using different property names and it didn't work for me that way.

 

Good luck!

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

4 REPLIES 4
dm-p
Super User
Super User

Hey @Roman-Korovets - sorry, I missed your tag. You can control the window size from the properties pane using the customized data reduction API. Note that the documentation doesn't state this but the example shows the exact object/property names (dataReductionCustomization.rowCountdataReductionCustomization.columnCount) that you must use for this to work in a visual, as they seem to have been reserved by MS for this purpose; you can't put them anywhere in the properties pane. I initially tried using different property names and it didn't work for me that way.

 

Good luck!

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Hi @dm-p,

It works, thank you so much for your help and brilliant solution.

Anonymous
Not applicable

Hi @Roman-Korovets ,

Base on my research, there is no option to dynamically change the dataReductionAlgorithm limit set in the capabilities.json file directly from the format pane of a Power BI custom visual. You need to modify it in capabilities.json file manually.

powerbi - How to change Data Point Limit of Power BI Custom Visual - Stack Overflow

You need to set the dataReductionAlgorithm property in the capabilities.json file. For example:

"dataReductionAlgorithm": {
    "window": {
        "count": 30000
    }
}

Note that if you use window as I did in the code (instead of top, bottom, or sample), you will be also able to use the Fetch more data feature to bypass the 30K rows limit.


Data reduction algorithm usage

PowerBI-visuals/Capabilities/DataViewMappings.md at master · PowerBi-Projects/PowerBI-visuals · GitH...

Best Regards

Thank you so much for your idea 😍
I will investigate this way.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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