Erroneous dataflow from text to single type
Dear all,
While doing some tests, I came across a problem with a dataflow from text to single type in BOARD 10.3 (Didn't try in older versions). Let me explain the whole business case.
1) I pull in a "creation date" column from an Excel file and apply an ETL function on it during the data reader. The ETL function is "LEFT(C12,4)&MID(C12,6,2)&MID(C12,9,2)" and allows me to store the YYYYMMDD of a timeformat. Please find row 12 of following example:
2) This new cube "Open Date Text" is a text cube (two dimensions: Day and TicketNumber) and I want to change the format to single, to be able to change the date at a later stage to a numeric value and compare with the close date.
3) However when running this dataflow, I get strange results, leading often to a day off, earlier or later.
Anyone in the community that already came across similar situations. I would love not to change anything in Excel, and handle the whole data manipulation flow inside BOARD. So please advise in case you know a workaround.
All the best,
Jonathan
Answers
-
Hi,
it's not a problem from 10.3 or a problem from BOARD Software. It's more or less a Single/double problem (in general a floating point problem).
Single only guarantee for an precision of 7 digits, so some 8 digit numbers may not be saved correctly:
float keyword (C# Reference) | Microsoft Docs
So if single isn't accurate, just use double:
Regards
Björn
2 -
Thanks Bjorn. It works like a charm by changing the datatype to double.
Best,
Jonathan1
Categories
- All Categories
- 1.8K Forums
- 1.7K Platform
- 106 Academy
- 280 Resources
- 3 Community Captains
- 1 About Community Captains
- 1 Meet the Community Captains
- 1 Topics & Thought Starters
- Board Manual
- 50 Best Practices
- 41 How-To Guides
- 25 Board Advocacy Program
- 157 Blog
- 4 Groups Hub
- 4 About Groups
- New Community Members
- DACH
- Japan
- Academy
- 2 Board Academy
- 7 ILT/VILT Course Catalogue
- 13 e-Learning Course Catalogue
- 4 Academy Forum
- 1.1K Idea Exchange
- 305 Partner Hub
- 2 Solution Sales Toolkits
- 91 Support
- 14 FAQ's
- Customer Support Portal
- 54 Support Articles
- BEAP