Advance with Assist: Function Compatibility

Data

Advance with Assist: Function Compatibility

Advance with Assist shares quick solutions to common challenges encountered by the InterWorks Assist on-demand team.

Question: I’m trying to remove the decimal from my report, but I’m getting unexpected results. With FLOOR or ROUND on my calculation, I still have a decimal. How can I remove it without formatting in the format menu all the time?

ROUND calculation in Tableau

Questions like this happen to all of us. You expect a certain result, but what you get is unexpected. You may go through your standard checklist of options to make sure you haven’t formatted something incorrectly, or in a different way on a different sheet, but in this case, you are creating a new calculation. The function should work, right?

Here, we look at the definitions of the functions and determine that ROUND and FLOOR should give us what is needed. So why doesn’t it work?

ROUND Function

This function rounds numbers to a specified number of digits. The decimals argument specifies how many decimal points of precision to include in the final result. If decimals is omitted, number is rounded to the nearest integer.

FLOOR Function

This function rounds a number to the nearest integer of equal or lesser value. It’s supported in the following sources as of October 2018:

  • ExcelText File
  • Statistical File
  • Tableau Server
  • Amazon EMR Hadoop Hive
  • Cloudera Hadoop
  • Datastax, Google BQ and Analytics
  • MapR Hadoop Hive
  • Salesforce
  • Spark SQL

The key is in compatibility with the data source. In this case, our client was using a function that wasn’t supported by their data source, so the only option is to use formatting in the view or default properties. Before you bang your head against a wall, make sure you understand what your data source will allow you to do. Tableau allows you to work in all kinds of data quickly, but not all data sources have every function.

Want More Advance with Assist

  1. Advance with Assist: Filtering Select Dates with DATETRUNC
  2. Advance with Assist: Enhancing Dashboards with Custom Icons
  3. Advance with Assist: Tableau Power User Leaving the Company
  4. Advance with Assist: Context Filters and LOD Calculations
  5. Advance with Assist: Custom Subscriptions with Tableau Server Custom Views
  6. Advance with Assist: Blending with Dimension Not Utilized
  7. Advance with Assist: Creating a Sankey Diagram from Survey Data
  8. Advance with Assist: Multiple Dashboard Actions with a Single Click
  9. Advance with Assist: Refreshing Tableau Online Data with Tableau Bridge
  10. Advance with Assist: Parameter Performance Optimization
  11. Advance with Assist: Using Custom Backgrounds with Polygon Shapefiles
  12. Advance with Assist: Changing Default Properties on Data
  13. Advance with Assist: Options for Calculating Percentages
  14. Advance with Assist: Removing Options from Filter List
  15. Advance with Assist: Extracting Year from De-identified Text String
  16. Advance with Assist: Marking the Latest Date on Trend Line
  17. Advance with Assist: What You Need to Know About Aliases
  18. Advance with Assist: Function Compatibility
  19. Advance with Assist: Mass Parameter Replacement
  20. Advance with Assist: Sorting with MONTH in Reverse
  21. Advance with Assist: Ungroup Column Headers That Have Concatenated
  22. Advance with Assist: Connectionless Failure Error in Tableau Server
  23. Advance with Assist: How to Exceed Tableau’s Column or Row Limit
  24. Advance with Assist: Adding Email Links to Your Dashboard
  25. Advance with Assist: Saving User-Selected Filters on Tableau Server

More About the Author

Dustin Wyers

Analytics Consultant | Assist Lead - East
Advance with Assist: Saving User-Selected Filters on Tableau Server Question: Our users are finding themselves clicking the same filters when they log onto dashboards they have access to. They are ...
Advance with Assist: Adding Email Links to Your Dashboard Question: I’m building a public dashboard and want to get a “Contact Us” link on the screen. How do I make the email pop up? Adding the ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK