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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX Measure error

Hi Experts 

 

Cannot see how to fix the following DAX....

Measure 3 = 
VAR _User =
   CONCATENATE(
        CONCATENATE(
        "(",
        CONCATENATE(
            "India",
            ")")
    ),
    CONCATENATE(
        "[",
        CONCATENATE(
            004,
            "]")
    ))
RETURN

_User

 

 

Error message

BlueWhite111_0-1682494035810.png

 

1 ACCEPTED SOLUTION

just put the ; after the closing bracket around India:

 

Measure 3 =
VAR _User =
   CONCATENATE(
        CONCATENATE(
        "(",
        CONCATENATE(
            "India",
            ");")
    ),
    CONCATENATE(
        "[",
        CONCATENATE(
            004,
            "]")
    ))
RETURN

_User

View solution in original post

5 REPLIES 5
Idrissshatila
Super User
Super User

Hello @Anonymous,

 

you can do it like this 

measure = "(India)(0040)"

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Nick_Kalichava
Frequent Visitor

May I ask :
1. why do you use so many CONCATINATE? Should not && do the job?
2. is (India)(0040) - this what the VAR should return? Am I right?

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

there doesn't seem to be anything wrong, i copied it into PBI and it works:

 

DOLEARY85_0-1682494233169.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

 

Anonymous
Not applicable

Hi Doleray85 how do i amend the above to include a ; between (india) and [4] so end result is (india);[4]

just put the ; after the closing bracket around India:

 

Measure 3 =
VAR _User =
   CONCATENATE(
        CONCATENATE(
        "(",
        CONCATENATE(
            "India",
            ");")
    ),
    CONCATENATE(
        "[",
        CONCATENATE(
            004,
            "]")
    ))
RETURN

_User

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.