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.

Reply
vjnvinod
Impactful Individual
Impactful Individual

Visualization help

Dear Community,

 

take a look on the below pic.

Growth new measure with unichar code is turning up weird.

Growth new to be showed as same as Growth with green and red indicator.

below are the measures i have used to do that, unfortunately something is not working correctly

 

unichar indicator error.JPG

 

 

Arrows = SWITCH(
   TRUE(),
    ISBLANK([Growth])
     || ISBLANK([Growth]),BLANK(),
    [Growth] = 0, "No Data",
    [Growth] >= 0,UNICHAR(9650),
    [Growth] <= 0,UNICHAR(128315),
   BLANK()
  )

 

Growth =
VAR __BASELINE_VALUE = SUM('Inbound'[TER_PFYTD_Constant])
VAR __VALUE_TO_COMPARE = SUM('Inbound'[TER_FYTD_Constant])
RETURN
 IF(
  NOT ISBLANK(__VALUE_TO_COMPARE),
  DIVIDE(__VALUE_TO_COMPARE - __BASELINE_VALUE, __BASELINE_VALUE)
 )

 

Growthnew = CONCATENATE(CONCATENATE([Growth],"%"),Inbound[Arrows])

1 ACCEPTED SOLUTION
vjnvinod
Impactful Individual
Impactful Individual

@v-cherch-msft

 

I think i figured it out, my measure should look like below

 

Growthnew =
CONCATENATE ( FORMAT ( [Growth], "0.0%" ), Inbound[Arrows] )

View solution in original post

5 REPLIES 5
v-cherch-msft
Employee
Employee

Hi @vjnvinod

 

You may try below measure:

Growthnew =
CONCATENATE ( FORMAT ( [Growth], "percent" ), Inbound[Arrows] )

Regards,

Cherie

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

@v-cherch-msft

 

This is helpful, but i see the decimal point is coming as 2, as a result of the measure you have shared.

6.82% etc

 

any how to round this to 1 decimal point? thanks for your help.

vjnvinod
Impactful Individual
Impactful Individual

@v-cherch-msft

 

I think i figured it out, my measure should look like below

 

Growthnew =
CONCATENATE ( FORMAT ( [Growth], "0.0%" ), Inbound[Arrows] )

HotChilli
Super User
Super User

You need to FORMAT the GROWTH measure when you concatenate it to your symbol.  It's nothing to do with UNICHAR, it's just showing as the exact decimal result of your divide calculation

HotChilli
Super User
Super User

I don't think it's anything to do with the UNICHAR, it's just that the result of the GROWTH calculation is showing as an unformatted decimal number with your character tagged on the end.  You need to give it a format . 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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