Solved

FM - Truncating 3 digits to Only Show Thousands

Posted on 2011-02-28
5
777 Views
Last Modified: 2012-05-11
I am trying to chart and need to save space.  I want to create a formula that reduces the amount field down to thousands, but without the trailing 3 zeros.  I tried Truncate (Amount; -5), but that returned 0 for say a number of 15,000.  How do you delete or not show the last three numbers on the right, so I could just say 15K for example?  Thanks.
0
Comment
Question by:rvfowler2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
billmercer earned 450 total points
ID: 35000966

round( VALUE / 1000; 0)  & "K"


0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35000973
How about

Truncate(Amount/1000;0)

or, even better:

Round(Amount/1000;0)

0
 
LVL 16

Assisted Solution

by:sjklein42
sjklein42 earned 50 total points
ID: 35000987
or even this:

If(Amount >= 1000; Round( Amount/ 1000; 0) & "K"; Amount)

Open in new window

0
 
LVL 2

Author Closing Comment

by:rvfowler2
ID: 35001096
The first answer did it, though the second did add a bit.   I did change the 0 to a 1 to add more granularity.  By the way, I'm new to this charting, and it is terrible as compared to, say, MS Excel.  Very little ability to customize, e.g., field, line, color, and row formatting on the chart.
0
 
LVL 19

Expert Comment

by:billmercer
ID: 35001759
FileMaker charting is a recent addition, and is not very robust. It's mostly there to provide quick and easy presentation of data without having to go outside the FileMaker interface. Personally I think charting is not that valuable in a database, but it was a common complaint that FileMaker didn't provide it, so they added it.

If you want Excel-like charting, your best bet is to use Excel. That's what I do. You can use the FileMaker ODBC driver as a data source to create more dynamic charts without having to do exporting/importing all the time.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question