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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AlwaysBI
Frequent Visitor

Export Dynamic Data Labels to Excel

Dear support community,

 

Screenshot 2023-07-14 082515.png

The percentage shown in this chart is Dynamic Data Labels created by Power BI. When user export the data to Excel the percentage data doesn't export.  Is there anyway we can export it?

 

Thank you.

BiDev.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AlwaysBI ,

According to your description, you are actually using the field 'Target' with the aggregation(SUM) on the Y-axis. But you are using 100% stacked column chart, and you want to export the data with the percentage values as well. However this is not possible...

Export data from a Power BI visualization - Power BI | Microsoft Learn

 

You can do what I did in the pbix file in my previous reply, change the visual type to stacked column chart and create a measure to get the percentage. Then put it on the Y axis to replace the original field (SUM('Table'[Target]))...

percentage = 
VAR _location =
    SELECTEDVALUE ( 'Table'[Location] )
VAR _sumtarget =
    CALCULATE (
        SUM ( 'Table'[Target] ),
        FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Location] = _location )
    )
RETURN
    DIVIDE ( SUM ( 'Table'[Target] ), _sumtarget )

Best Regards

View solution in original post

3 REPLIES 3
AlwaysBI
Frequent Visitor

This is a sample of exported data we have.

AlwaysBI_0-1689585051800.png

Basically our data is the exact number instead of percentage, but in BI dashboard, we have the percentage as data labels, we wanted to get the data label percentage as well as the exact number exported if possible.

Anonymous
Not applicable

Hi @AlwaysBI ,

According to your description, you are actually using the field 'Target' with the aggregation(SUM) on the Y-axis. But you are using 100% stacked column chart, and you want to export the data with the percentage values as well. However this is not possible...

Export data from a Power BI visualization - Power BI | Microsoft Learn

 

You can do what I did in the pbix file in my previous reply, change the visual type to stacked column chart and create a measure to get the percentage. Then put it on the Y axis to replace the original field (SUM('Table'[Target]))...

percentage = 
VAR _location =
    SELECTEDVALUE ( 'Table'[Location] )
VAR _sumtarget =
    CALCULATE (
        SUM ( 'Table'[Target] ),
        FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Location] = _location )
    )
RETURN
    DIVIDE ( SUM ( 'Table'[Target] ), _sumtarget )

Best Regards

Anonymous
Not applicable

Hi @AlwaysBI ,

I created a sample pbix file(see the attachment), it can export the field with the percentage. How did you set your chart? Could you please provide some raw data in your tables(exclude sensitive data) with Text format and the Fields settings of your visual. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

vyiruanmsft_0-1689561463408.pngExport visual dataExport visual data

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.