Insight: View Data for summary table gives error: Configure fields for the Insight

I have an Insight created and it sources data from a list Data Page, The Data page is sourced from a Report definition and Report definition has all the columns and data.Its the DataTableEditorReport of that Data class.

When I do View Data from Top right, I get “Configure fields for the Insight.”
But I don’t see any view linked to this. It looks like it displays Data and columns as loaded per Source Data page.
I have tried clear cache and marking columns and relevant records.

This happening only in UAT environment, in dev i am able to click view data and see the data in raw and can perform all operations.

Since this works in Dev but not in UAT, I would treat it as an environment-specific configuration issue rather than an Insight issue.

The “View Data” action depends on the source Data Page and the underlying report/data class metadata. Pls compare the DataTableEditorReport, ensure the required keys are present, and verify that the Data Page, Insight fields, and access context are identical in UAT and Dev. Missing keys or incomplete rule migration can cause Pega to fall back to the “Configure fields for the Insight” behaviour

I was having two fields marked as Primary Fields, Removing primary fields allowed View data option load in Insights.