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

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.

Reply
smpa01
Super User
Super User

How to custom align CONCATENATEX output in a card visual

Hello experts,

 

My raw data is following

 

CategoryAccount Description
CAT1Clng Contract-Fix
CAT1Clng Contract-Var
CAT1Clng Contract - AbcAbcde Abcdef
CAT1Walk - Abc Abcd-Fix
CAT1Clng Contract - AbcAbcde AB
CAT1Walk - Off Mats Sourced
CAT1Walk - Off Mats-Var

 

I have written a measure as following

 

 

 

Measure =
"Higher" & UNICHAR ( 10 ) & "{"
    & UNICHAR ( 10 )
    & CONCATENATEX ( t1, [Account Description], "," & UNICHAR ( 10 ) )
    & UNICHAR ( 10 ) & "}"

 

 

 

When I display this measure on a card visual I get following

Capture.PNG

 

How can I edit the measure for the card visual to generate the output as below

 

 

 

Higher
            {
             Clng Contract-Fix,
             Clng Contract-Var,
             Clng Contract - AbcAbcde Abcdef,
             Walk - Abc Abcd-Fix,
             Clng Contract - AbcAbcde AB,
             Walk - Off Mats Sourced,
             Walk - Off Mats-Var
             }

 

 

 

 

Thank you in advance.

 

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
1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

Hi, @smpa01 

 

Unfortunately, Power Bi card visuals currently do not support changing text alignment. The issue has been submitted here

 

For some idea, you take a look this post:

https://community.powerbi.com/t5/Desktop/Card-Text-Now-Only-Center-Aligned-within-the-box/td-p/21425... 


Best,

Paul

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

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

Hi, @smpa01 

 

Unfortunately, Power Bi card visuals currently do not support changing text alignment. The issue has been submitted here

 

For some idea, you take a look this post:

https://community.powerbi.com/t5/Desktop/Card-Text-Now-Only-Center-Aligned-within-the-box/td-p/21425... 


Best,

Paul

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

@V-pazhen-msftthanks

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.