Forum Discussion

mork's avatar
mork
Helper V
10 years ago
Solved

Problem with data type from an excel file

Hello,

 

I have a simple excel file with a single table that I'm trying to implement to my report. My problem is that one of the colums has number data that power bi recognises as dates.

The columns has data like 2/4, 3/4 etc. Basically it says how many tests have been done (2 out of 4, 3 out of 4 etc.).

When I import the excel to Power BI that columns shows dates, when I change the type in Power BI to number I get weird numbers like "42462" or something. How can I fix that?

  • mork Go back in Excel and format the column as Fraction - it should then automatically recognize it as numbers

     

4 Replies

    • mork's avatar
      mork
      Helper V

      Decimal number gives me an error. Only text type show the correct data. Should I keep it as text or try something else?

      • Sean's avatar
        Sean
        Community Champion

        mork Go back in Excel and format the column as Fraction - it should then automatically recognize it as numbers