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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lucmax
Helper II
Helper II

dataReductionAlgorithm not working for Rows and Columns in Matrix Dataview

Hi,

 

I'm trying to use the fetchMoreData (segmented fetch) functionality within my visual that uses a matrix dataview. For this to work we need to add dataReductionAlgorithm to the capabilities.json. This works fine if we just add it to the rows but if we add it to the rows and columns we just get this error:

Activity ID: 12c03dfa-ab05-413f-94e7-f42204cc6b93
Request ID: 7f254adc-d15b-2636-4319-0f826e68da06
Correlation ID: b069f53b-3faf-ab67-cf2e-060d80bdabab
Time: Fri Aug 06 2021 14:27:56 GMT+0200 (Mitteleuropäische Sommerzeit)
Service version: 13.0.16512.57
Client version: 2107.4.07056-train
Cluster URI: https://wabi-west-europe-d-primary-redirect.analysis.windows.net/

 

What are we missing?

 

dataViewsMapping in capabilities.json

"dataViewMappings": [
        {
            "conditions": [
                {
                    "A": {
                        "max": 1
                    },
                    "B": {
                        "max": 1
                    },
                    "C": {
                        "max": 1
                    },
                    "D": {
                        "max": 1
                    },
                    "E": {
                        "max": 1
                    },
                    "F": {
                        "max": 1
                    }
                }
            ],
            "matrix": {
                "rows": {
                    "select": [
                        {
                            "for": {
                                "in": "A"
                            }
                        },
                        {
                            "for": {
                                "in": "C"
                            }
                        }
                    ],
                    "dataReductionAlgorithm": {
                        "window": {
                            "count": 1000
                        }
                    }
                },
                "columns": {
                    "for": {
                        "in": "D"
                    },
                    "dataReductionAlgorithm": {
                        "window": {
                            "count": 1000
                        }
                    }
                },
                "values": {
                    "select": [
                        {
                            "for": {
                                "in": "E"
                            }
                        },
                        {
                            "for": {
                                "in": "B"
                            }
                        },
                        {
                            "for": {
                                "in": "F"
                            }
                        }
                    ]
                }
            }
        }
    ],

 

Regards,

lucmax

1 REPLY 1
lucmax
Helper II
Helper II

Has anyone a working example for the fetchMoreData (Segements aggregation mode) functionality within a matrix dataview and can share it with me? Still not able to get this working.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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 Solution Authors