cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ngct
Helper III
Helper III

Dynamic Excel file name from PowerBI's field

Hi, I am trying to create excel file from PowerBI fields.

 

And I am trying to rename the Excel file from one of the BI's fields(Title)

Because the "title" is an array, so from action Compose, I have an expression as "First(body('Select_2'))"

ngct_1-1663232819954.png

However, it turn out with an file name with "___" as prefix and suffix". May I know how to fix this?  

ngct_0-1663232728716.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @ngct ,

 

Please use first(body('Select_2'))?['']  instead of first(body('Select_2')).

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @ngct ,

 

Please use first(body('Select_2'))?['']  instead of first(body('Select_2')).

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,303)