Improve company productivity with a Business Account.Sign Up

x
?
Solved

FM - Truncating 3 digits to Only Show Thousands

Posted on 2011-02-28
5
Medium Priority
?
788 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 1800 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 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
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…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

584 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