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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
tebtim19
Helper IV
Helper IV

Add plus sign

Done Anyone know how to add plus sign to the whole number?

 

I have this formula for number of joiner but I want that the result have "+" before the number

 

# of Joiner =
CALCULATE (
COUNT ([emp ID]),
USERELATIONSHIP ( 'SAP'[EntryDate],'Dates'[Date] )
)+0
3 ACCEPTED SOLUTIONS
rajulshah
Memorable Member
Memorable Member

Hello @tebtim19 ,

 

You can do as following:
# of Joiner = "+" & CALCULATE (COUNT ([emp ID]),USERELATIONSHIP ( 'SAP'[EntryDate],'Dates'[Date] )

Please let me know if this doesn't help.

View solution in original post

selimovd
Super User
Super User

Hey @tebtim19 ,

 

if you just want to change the appearance of the value but not the value itself you can also use a custom format that always shows a plus sign when it's positive and a minus when it's negative:

2.png

 

This would display the number like that, but won't change the value itself. So it is still a normal number and not a text:

3.pngIf you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi

View solution in original post

Hi @tebtim19 ,

 

**EDIT** The below will work, but I believe @selimovd has actually provided the best solution.

 

I would create a new measure as follows:

 

# of Joiner Plus =
"+" & [# of Joiner]

// or

# of Joiner Plus =
FORMAT(
  [# of Joiner],
  "+0.00"
)

 

 

The exact format in the FORMAT() example can be adjusted to how you want it.

 

The reason I suggest keeping and using your original measure in a reformatted version is because as soon as you make this format change, the measure output becomes text. therefore, you can't use this measure in conditional formatting etc.

 

Doing it this way means you can use the "Plus" version to actually display in visuals, but you can still use the original version to apply to conditional formatting rules etc.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

3 REPLIES 3
selimovd
Super User
Super User

Hey @tebtim19 ,

 

if you just want to change the appearance of the value but not the value itself you can also use a custom format that always shows a plus sign when it's positive and a minus when it's negative:

2.png

 

This would display the number like that, but won't change the value itself. So it is still a normal number and not a text:

3.pngIf you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi

rajulshah
Memorable Member
Memorable Member

Hello @tebtim19 ,

 

You can do as following:
# of Joiner = "+" & CALCULATE (COUNT ([emp ID]),USERELATIONSHIP ( 'SAP'[EntryDate],'Dates'[Date] )

Please let me know if this doesn't help.

Hi @tebtim19 ,

 

**EDIT** The below will work, but I believe @selimovd has actually provided the best solution.

 

I would create a new measure as follows:

 

# of Joiner Plus =
"+" & [# of Joiner]

// or

# of Joiner Plus =
FORMAT(
  [# of Joiner],
  "+0.00"
)

 

 

The exact format in the FORMAT() example can be adjusted to how you want it.

 

The reason I suggest keeping and using your original measure in a reformatted version is because as soon as you make this format change, the measure output becomes text. therefore, you can't use this measure in conditional formatting etc.

 

Doing it this way means you can use the "Plus" version to actually display in visuals, but you can still use the original version to apply to conditional formatting rules etc.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.