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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors