The best way to solve this problem is in Excel. I don't know which Cognos version you use, but Cognos should detect the right data type. This works correctly in 11.1.1.
However, you can change the data type in the data module too (not recommended if it is not necessary).
To do this you can use the cast-decimal function and edit the expression into somewhat like this:
cast([Data item], decimal (6,2))
After editing the expression Cognos will show the data type as decimal.
------------------------------
--
------------------------------
Original Message:
Sent: Fri September 20, 2019 02:01 AM
From: Ya Jie Gao
Subject: How to change "Data type" from text to decimal
Hello dears
I upload one excel file into dashboard, there are two columns information are in number format in excel file, but when I upload the file, the 1st one column was identified as "text" format but it should be "number", the 2nd with no problem in number format. Can you please kindly advise how can I change the format from "Text" to "Decimal" format? Thank you in advance!
------------------------------
Ya Jie Gao
------------------------------
#CognosAnalyticswithWatson