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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
lucmax
New Contributor III

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
New Contributor III

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
Users online (3,586)