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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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