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
Eyal
Helper II
Helper II

Concatenate 2 variables

Dear all

I have a foramting problem i just can find a solution.
I want to dispay in a table concatenated results of 2 or more variables.

the end result shloud be x.xx±y.yy
this is my measure:

 
AVG(±StDev) =
var A = ROUND(AVERAGE('BR Data'[Value]),2)
var S = ROUND(STDEV.P('BR Data'[Value]),2)

var result = A&"±"&S
Return

all i get is just he ± in every cell
any
result
1 REPLY 1
amitchandak
Super User
Super User

@Eyal , Can check to you have any measure or column with name A and S

 

Also, check the value of variable A and S might be blank

 

AVG(±StDev) =
var _A = ROUND(AVERAGE('BR Data'[Value]),2)
var _S = ROUND(STDEV.P('BR Data'[Value]),2)

Return
_A & "±" & _S

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.