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
1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @smpa01,

The below Microsoft Learn documentation explains the available export options and their limitations, but it doesn’t explicitly call out support for custom visuals under the “Data with current layout” option. At the same time, the documentation clearly mentions that this export option is available only for Table and Matrix visuals, which refers to the native Power BI visuals.

Because of this, even if a custom visual is built using a matrix dataViewMapping, the export behavior is still determined by the built‑in visual type. There isn’t any documented capability or API that allows custom visuals to enable Data with current layout. As a result, this should be considered a current product limitation, rather than a configuration or implementation issue.

Official reference:
Export Data from a Power BI Visualization - Power BI | Microsoft Learn

 

If this capability is important for your use case, it would be best to submit Microsoft Fabric Ideas through the Fabric Ideas portal so the product team can consider it for future improvements.

 

 

Thanks,

Prashanth

View solution in original post

1 REPLY 1
v-prasare
Community Support
Community Support

Hi @smpa01,

The below Microsoft Learn documentation explains the available export options and their limitations, but it doesn’t explicitly call out support for custom visuals under the “Data with current layout” option. At the same time, the documentation clearly mentions that this export option is available only for Table and Matrix visuals, which refers to the native Power BI visuals.

Because of this, even if a custom visual is built using a matrix dataViewMapping, the export behavior is still determined by the built‑in visual type. There isn’t any documented capability or API that allows custom visuals to enable Data with current layout. As a result, this should be considered a current product limitation, rather than a configuration or implementation issue.

Official reference:
Export Data from a Power BI Visualization - Power BI | Microsoft Learn

 

If this capability is important for your use case, it would be best to submit Microsoft Fabric Ideas through the Fabric Ideas portal so the product team can consider it for future improvements.

 

 

Thanks,

Prashanth

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.