cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pontushaglund Frequent Visitor
Frequent Visitor

Using FORMAT destroys table/matrix alignment

I have a "varible" measure that uses SWITCH to decide what measure to show in a table. In the case of YoY% versus VTB I want the result to be percentage rather than Whole number with thousand separator. Using the FORMAT everything gets left-aligned in the matrix (and table) visuals rather than right-aligned (which looks a lot better for numbers).

Am I missing something?

 

Thanks in advance,

 

Pontus

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator Eric_Zhang
Moderator

Re: Using FORMAT destroys table/matrix alignment


@pontushaglund wrote:

I have a "varible" measure that uses SWITCH to decide what measure to show in a table. In the case of YoY% versus VTB I want the result to be percentage rather than Whole number with thousand separator. Using the FORMAT everything gets left-aligned in the matrix (and table) visuals rather than right-aligned (which looks a lot better for numbers).

Am I missing something?

 

Thanks in advance,

 

Pontus


@pontushaglund

I think it is all by design. Using FORMAT converts data to text type. text is left-aligned while numbers are right aligned.

View solution in original post

1 REPLY 1
Highlighted
Moderator Eric_Zhang
Moderator

Re: Using FORMAT destroys table/matrix alignment


@pontushaglund wrote:

I have a "varible" measure that uses SWITCH to decide what measure to show in a table. In the case of YoY% versus VTB I want the result to be percentage rather than Whole number with thousand separator. Using the FORMAT everything gets left-aligned in the matrix (and table) visuals rather than right-aligned (which looks a lot better for numbers).

Am I missing something?

 

Thanks in advance,

 

Pontus


@pontushaglund

I think it is all by design. Using FORMAT converts data to text type. text is left-aligned while numbers are right aligned.

View solution in original post

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 64 members 1,337 guests
Please welcome our newest community members: