Solved

FM - Truncating 3 digits to Only Show Thousands

Posted on 2011-02-28
5
774 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
  • 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

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…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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