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
renoyzac
New Member

How to concatenate row value and text using DAX (live connection)

Hello,

I'm just starting out with Power BI. I'm trying to concatenate the row value and text using DAX (mine is a live connection). But i'm unable to get the dimension value in the measure i'm creating.

Is this possible to do? Here the 'Dimension-Hierarchy'[Platform L3 Desc] gives an error "Cannot find name [Platform L3 Desc]"

 

_msr_Filtered URL = IF(
                        HASONEVALUE('Dimension -Hierarchy'[Platform L3 Desc]),
                            CONCATENATE("link", 
                            CONCATENATE("?filter=xyz'", 
                            CONCATENATE('Dimension - Hierarchy'[Platform L3 Desc],
							CONCATENATE([_msr_Selected App], 
                            CONCATENATE("'", 
                            CONCATENATE(" and filter= '", 
                            CONCATENATE([_msr_Selected L3], "'")))))), 
                            CONCATENATE("link", 
                            CONCATENATE("?filter=xyz'", 
                            CONCATENATE([_msr_Selected App], 
                            CONCATENATE("'", ""))))))

 

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @renoyzac 

try min(), max() or selectedvalue() to get row value, e.g.

 

HASONEVALUE(min('Dimension -Hierarchy'[Platform L3 Desc]))

 

then, you also could use & to concatenate the row value and text, e.g.

vxiaotang_0-1633575504321.png

I also find a tutorial, you could refer to it,

vxiaotang_0-1633575600236.png

https://docs.microsoft.com/en-us/dax/text-functions-dax

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @renoyzac 

try min(), max() or selectedvalue() to get row value, e.g.

 

HASONEVALUE(min('Dimension -Hierarchy'[Platform L3 Desc]))

 

then, you also could use & to concatenate the row value and text, e.g.

vxiaotang_0-1633575504321.png

I also find a tutorial, you could refer to it,

vxiaotang_0-1633575600236.png

https://docs.microsoft.com/en-us/dax/text-functions-dax

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Yes, i did end up using SELECTEDVALUE(). Couldn't find any other way. 

smpa01
Super User
Super User

@renoyzac  can you change this to following and see if it works

 

CONCATENATE(MAX('Dimension - Hierarchy'[Platform L3 Desc]))
or
//if the above does not work
CONCATENATE(CALCULATE(MAX('Dimension - Hierarchy'[Platform L3 Desc]))
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors