Forum Discussion

kintela's avatar
kintela
Helper II
9 years ago
Solved

error adding a column

Hi

 

I want to add two columns in my model specifically these ones:

 

 

But whe I try it:

 

 

 

Any sense???

 

Regards

 

  • kintela's avatar
    kintela
    9 years ago

    Sorry the field was U_Proyecto not u_proyecto but in SQL this sentence lied me:

     

    Thanks

5 Replies

  • JazminMarquez's avatar
    JazminMarquez
    Frequent Visitor

    In your query at the end you are adding a comma before * from..

     

    Try to.. 

     

    Select u_proyecto, u_fase * from orin
    • kintela's avatar
      kintela
      Helper II

      Hi

       

      My problem is not in that query is in to add those columns in my model in Power BI...

       

      Thanks

      • dkay84_PowerBI's avatar
        dkay84_PowerBI
        Microsoft Employee

        Just go to the query editor and step through the query.  If you go to the second step, you should see what is returned by your query (before selecting the columns you wish to keep).  PBI is not detecting the column based on the name, so perhaps the source table has changed.