Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi
I'd like some help!
I need to concatenate NF + MI + MV and put the result in Criterios Column.
NF,MI,MV are calculated columns.
That's my table.
My goal is to get a concatenate column, like that
proposta11 | 3,88 |4,00 | 4,00 | 3,884,004,00
proposta5 | 3,75 |3,75 | 3,75 | 3,753,753,75
and so on
But Concatenate formula seems not work with calculated column. Thanks for help!
I am doing this because I need create a rank based on some tiebreaker criteria to determine the winner proposta.
Solved! Go to Solution.
I got this example from here: https://msdn.microsoft.com/en-us/query-bi/dax/concatenate-function-dax
Criterios = Concatenate(NF, Concatenate(",", Concatenate(MI, Concatenate(",", MV))))
[Edited, I didnt see you already had commas. I also did this with calculated columns from my data. You might need to update your desktop version if this is not working for you.]
Criterios = Concatenate(NF, Concatenate(MI, MV))
Hi @ajohn1
It worked, I used this expression:
Criterios = CONCATENATE(FIXED(SomaTotal[NF];2);CONCATENATE(FIXED(SomaTotal[MI];2);FIXED(SomaTotal[MV];2)))
however, I don't know why, but I got the dot as a result instead of comma. Look at the picture below.
thanks!
This is not directly responsive to the question, but I have seen several people seeking a solution to concatenating 3 columns when editing a query (see example when desiring to get a FullName from 3 columns).
LastName, FirstName, MI, for example.
I recently found you can get there with a simple measure ...
Full Name = MemberName[NameFirst] & ", " & MemberName[NameLast] & ", " & MemberName[NameMiddle]
... by selecting 2 or more Table[columnnames] which will appear on your Report Canvas after selecting the "fields you want. Then immediately left click on the table name and instead on selecting a "measure" select "column" and an "equal" sign will appear in the Measure area. Simply use the above syntax after naming your "column" measure (in the above case I used FullName = ). Apologies in advance for dropping this in the wrong place ... any help to get this moved to the right place will be appreciated.
I got this example from here: https://msdn.microsoft.com/en-us/query-bi/dax/concatenate-function-dax
Criterios = Concatenate(NF, Concatenate(",", Concatenate(MI, Concatenate(",", MV))))
[Edited, I didnt see you already had commas. I also did this with calculated columns from my data. You might need to update your desktop version if this is not working for you.]
Criterios = Concatenate(NF, Concatenate(MI, MV))
Hi @ajohn1
It worked, I used this expression:
Criterios = CONCATENATE(FIXED(SomaTotal[NF];2);CONCATENATE(FIXED(SomaTotal[MI];2);FIXED(SomaTotal[MV];2)))
however, I don't know why, but I got the dot as a result instead of comma. Look at the picture below.
thanks!
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |