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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
nmyre
Helper III
Helper III

Aligning values in table

This is interesting, need someone smarter than I am.

 

I have a table that I am using a measure to format, rounding to the millions. I would like to orient the numbers to the right, so I am using the VALUE function. However, it will work for one column and not the other. Both are formating a different measure that is a CALCULATE(SUM(column)). Both are identical, but one will orient using VALUE and one will not.

 

AFM DIR is using the VALUE function, the Obs will not.

sdfa.jpg

 

The one that I want to use the VALUE function with.

afsdsdfa.jpg

 

The one that works.

sdfdsd.jpg

 

asfd.jpg

 

I cannot figure out why it works with one and not the other, thoughts?

 

=NoMy

1 ACCEPTED SOLUTION

What I did was take the one measure and just divided it by 1,000,000. Keeping it simple.

 

@CNENFRNL 

View solution in original post

4 REPLIES 4
BlackieB
New Member

Hi, I'm having a similar issue.  I can get the fields in 1 of 3 columns to center align but not the others.  Just wondering what I'm doing wrong.  Thanks

 

E

CNENFRNL
Community Champion
Community Champion

Hi, @nmyre 

FORMAT func converts a value to text in the specified number format; whereas VALUE func converts a text string that represents a number to a number.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Yup, I understand. Is there a better way to round a number from millions to the format above? After looking on here, it said that using FORMAT was the best way, but if there is a different way then I bet that would be better.

What I did was take the one measure and just divided it by 1,000,000. Keeping it simple.

 

@CNENFRNL 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.