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.
hi
very simple query
how i can concatante a word with a column
i go to customer column then
"quarter"&""&[Quarter Of Year]
here quarter is my given word and Quarter of year is column name i want all values in quarter of year for quarter word in front
thanks
Solved! Go to Solution.
Concat=COMBINEVALUES(" ","quarter",[Quarter Of Year])
@abc_777 That is the correct syntax for a DAX calculated column. "quarter" & [Quarter of Year]. You could use the CONCATENATE function as well but don't see why that is necessary.
but
"quarter"&""&[Quarter Of Year] gives me error in column
i have only 1,2,3,4 values in [Quarter Of Year] column. so i dont know why getting error
Can you specify what error you are getting?
I see you haven't specified any delimeter in your DAX.
USe the same DAX and specify a space(" ") as an delimeter.
"quarter"&" "&[Quarter Of Year]
Thanks,
Sanket
hi
here is my column
after creating customer column
i am getting this error
That's right.
It's because you can't apply operator '&' to number.
In that case, you can create a calculated column.
Thanks,
Sanket
in that case creating calculated column what would be the formula to concatanate word with a column
Concat=COMBINEVALUES(" ","quarter",[Quarter Of Year])
Hi @abc_777 .
You can create a new column using DAX like;
Concat=COMBINEVALUES(" ","quarter",[Quarter Of Year])
Let me know if that works.
If this post helps, then mark it as "Accept as Solution" and give it a thumbs up.
Regards,
Sanket
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |