cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Eyal
Helper I
Helper I

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 IV
Super User IV

@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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.