cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahsanlhcgov Regular Visitor
Regular Visitor

need to convert number(float) to string and concatenate with brakets

Hi Guys, 

 

I have a financial statement in which I want to show the negative inside brackets. 

 

At the moment I have applied conditional formatting to change the color to red but need to add brackets to.

 

Please can someone tell me how can I achieve this. 

 

 Column name is Variance.

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: need to convert number(float) to string and concatenate with brakets

Hi @ahsanlhcgov,

 

We can add a calculated column using the formula. Then we can get the result as we need.

 

Column = IF(Table2[Variance]>=0,""&Table2[Variance]&"","(" &Table2[Variance]&")")

1.png

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/wmoyw4q8xohsjve/need%20to%20convert%20numbe3.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Support Team
Community Support Team

Re: need to convert number(float) to string and concatenate with brakets

Hi @ahsanlhcgov,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case please.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: need to convert number(float) to string and concatenate with brakets

Hi @ahsanlhcgov,

 

We can add a calculated column using the formula. Then we can get the result as we need.

 

Column = IF(Table2[Variance]>=0,""&Table2[Variance]&"","(" &Table2[Variance]&")")

1.png

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/wmoyw4q8xohsjve/need%20to%20convert%20numbe3.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Support Team
Community Support Team

Re: need to convert number(float) to string and concatenate with brakets

Hi @ahsanlhcgov,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case please.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 61 members 937 guests
Please welcome our newest community members: