cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Card Text Now Only Center Aligned within the box?

I just downloaded the July version of Power BI Desktop. It appears as though that text dynamically generated via DAX in a measure in a Card visualization can only be centered aligned within the visualization "box" area? I'm sure I've left-aligned text in a measure before, but am coming up blank for where / how to do this again. Surely it's possible. 

 

Note #1: I'm not referring to using the Align icon within the Format ribbon used to align the entire visual, just the text "inside.

Note #2: I'm also not referring to aligning the Title of the measure itself, just the dynamically generated text.

 

I'd appreciate any thoughts and guidance. 

 

Thanks.

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft
Microsoft

@Anonymous,

There is no option that could be used to set the text alignment for data in Card visual. An idea of this issue has been submitted in this link, you can vote it up.

Additionally, you can create a Multi-row card instead, text is left-aligned in the visual.
1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

11 REPLIES 11
Rygaard
Resolver I
Resolver I

as of 2021 you still can not align the text in the cards 

The problem with multirow cards is that you do not have controll over when it switch to show in one or two colums I WANT it only in one colum but as soon as i make it as wide as i want it... it starts to show in 2 Colums.

I have a Woring solution

1) make a text box (make background 100% transparent)

2) make a headline based on a formula (enter measure here)

3) left align the title of the text box !

Rygaard_0-1637765984466.png

 

Rishabh-Maini
Helper I
Helper I

@Anonymous 

Came across this article, and I think this is the best workaround for the alignment in a single value card. 
https://www.havensconsulting.net/blog-and-media/how-to-apply-font-alignment-to-single-value-cards

JA9
Regular Visitor

To give the appearance of left-aligned text, I have added a load of spaces to the end of my dynamic text.  It is not a neat solution but at least it is simple.

Anonymous
Not applicable

You can use "Text Wrapper" from Market Place.

 

Etoo
Regular Visitor

It is frustrating. But you can download Advance Card addin app. https://store.office.com/addinsinstallpage.aspx?rs=en-US&assetid=WA104381651 


@Anonymous wrote:

I just downloaded the July version of Power BI Desktop. It appears as though that text dynamically generated via DAX in a measure in a Card visualization can only be centered aligned within the visualization "box" area? I'm sure I've left-aligned text in a measure before, but am coming up blank for where / how to do this again. Surely it's possible. 

 

Note #1: I'm not referring to using the Align icon within the Format ribbon used to align the entire visual, just the text "inside.

Note #2: I'm also not referring to aligning the Title of the measure itself, just the dynamically generated text.

 

I'd appreciate any thoughts and guidance. 

 

Thanks.

 


 

DataMountain
Advocate I
Advocate I

As of November 2018 update, Having a single value in a multi row card causes default color customization within the "Data Label" well.

v-yuezhe-msft
Microsoft
Microsoft

@Anonymous,

There is no option that could be used to set the text alignment for data in Card visual. An idea of this issue has been submitted in this link, you can vote it up.

Additionally, you can create a Multi-row card instead, text is left-aligned in the visual.
1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks this was a big help.

The issue with this solution Lydia, is the "multirow" card won't change the format of a "data label" unless there at least 2 values there. 

 

In trying to put 2 measures in (I have 5 text measures for my report in a list I want to use):

These two values, don't load in as "rows" but as "columns"  so the "multirow" is more "multi column" 

 

Short of an addon (which I won't get through infosec) or running the query in SQL to get it loaded into one table first (which is a bit more overengineering that I feel should be necessary), I am not sure what I could do 

Multi-row card. Perfect. Thank you!

Anonymous
Not applicable

@v-yuezhe-msft,

Thanks. Voted up.

 

Jonathan 

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through June10th!

Power BI Dev Camp Session 22 without aka link and time 768x460.jpg

Check it Out!

Watch Session 22 Ted's Dev Camp along with past sessions!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Kudoed Authors