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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

0

Measure Dynamic formatting error when export to Excel from Power BI Service

Hello,

 

I get an error when trying to export a visual table in Excel : 

 

Lionel_G_0-1711388264985.png

 

Lionel_G_1-1711388299598.png

 

I realized that when displaying a measure with a dynamic format, the error is raised.

When I remove it, no error.

Here is the dynamic format formula :

 

 

VAR currSymbol = FIRSTNONBLANK(F_Compensations[First locale currency this year], 1)
RETURN
"# ### ### ##0" // Format numérique
& " "
& currSymbol // Symbole de la devise

 

 

 

Thank you for your help

 

Lionel

Status: Delivered

Hi @Lionel_G ,

 

Thank you for sharing, for other users with similar experiences you can check the comments below. This thread will now be closed.

 

Best regards.
Community Support Team_ Caitlyn

Comments
Lionel_G
Regular Visitor

Interesting, I just solved the problem by putting double quotes before and after the string in the format and this worked in Excel without error : 

 

 

VAR currSymbol = """" & FIRSTNONBLANK(F_Compensations[First locale currency this year], 1) & """"
RETURN
    "### ### ### ##0" & " " & currSymbol

 

 

v-xiaoyan-msft
Community Support
Status changed to: Delivered

Hi @Lionel_G ,

 

Thank you for sharing, for other users with similar experiences you can check the comments below. This thread will now be closed.

 

Best regards.
Community Support Team_ Caitlyn