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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
esraa_eissa
New Member

Percentage formatting issues when exporting to excel in power bi report server

 have created a measure 'rate' in my report . I have set the formatting of this measure to dynamic format

IF(
    SELECTEDMEASURE() = "---",
    "---",
    IF(
        ISNUMBER(SELECTEDMEASURE()),
        IF(
            SELECTEDMEASURE() <> INT(SELECTEDMEASURE()),
          "#0.00%",
            "#0%"
        )
    )
)

. This works perfectly fine in the visual.
However when I publish up to the sever and then export into excel the % changes to a decimal number.

esraa_eissa_0-1716286222100.png

can someone help me to solve this is problem?

 

1 ACCEPTED SOLUTION

You could create a paginated report to export your data. Those allow very fine grained control over the layout and formatting.

View solution in original post

3 REPLIES 3
d_gosbell
Super User
Super User

The on-prem report server does not support exporting with the current layout (which includes the formatting) see Compare Power BI Report Server and the Power BI service - Power BI | Microsoft Learn It only supports exporting summarized data which does not include the formatting.

okay thanks.
Are there any workarounds I can do to solve my issue?

You could create a paginated report to export your data. Those allow very fine grained control over the layout and formatting.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.