Showing results for 
Search instead for 
Did you mean: 
mvelazquez Frequent Visitor
Frequent Visitor

Concatenating a measure or field with a text

Hello PowerBI Gods!


Hope all is well and thank you in advance.


Here is my issue. So I have a table (see picture) that has a bunch of IDs and names. What Im trying to achieve, is that if the column defaults to just a "Policy OID broker", I want it to display something like this:  Unknown - 1234 ... Again, only for data that defaults to the "Policy OID broker"

I created a calculated column, and when I try to modify the dax to achieve what I want, I get an error.


Can this be achieve with just a measure instead of creating a calculated column?
How can I fix my DAX to achieve that?
Thank You! 😄




Nathaniel_C Super Contributor
Super Contributor

Re: Concatenating a measure or field with a text

Hi @mvelazquez ,

Not sure if I understand exactly, but try this. When you go to a measure, unlike a calculated column, it does not have row contex. So in order to return a scalar value, it needs to be aggragated, MIN, MAX, SUM etc.  But when you apply it to a visual it is filtered by the visual, or by slicers, and they provide the filter context.


 Let me know if this works for you, or if it does not, provide the error measure, please.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.

Helpful resources

New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (3,306)