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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
smpa01
Community Champion
Community Champion

Data with current layout option for custom visual using matrix dataViewMapping

I have a custom visual that uses a matrix dataViewMapping (rows + values, no column grouping). When I upload the .pbiviz to the Power BI service and use Export data from the three-dots menu, the "Data with current layout" option is disabled.

"This option is only available for table and matrix visuals"

My visual renders a plain HTML table from the matrix dataView - it is a matrix visual. But the option is greyed out

 

{
  "dataRoles": [
    { "name": "rows",   "kind": "Grouping", "displayName": "Row Groups" },
    { "name": "values", "kind": "Measure",  "displayName": "Values" }
  ],
  "dataViewMappings": [
    {
      "matrix": {
        "rows":   { "for": { "in": "rows" }, "dataReductionAlgorithm": { "top": { "count": 1000 } } },
        "values": { "for": { "in": "values" } }
      }
    }
  ],
  "privileges": []
}

 

Question: Is "Data with current layout" only available for PBI's own native Table/Matrix visuals, and never for custom visuals - regardless of which dataViewMapping they declare? If so, is there a capability flag or API to enable it for custom visuals?

 

smpa01_0-1778329857839.png

@dm-p 
Thank you in advance.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.