Forum Discussion

amjedashraf's avatar
amjedashraf
Frequent Visitor
7 years ago
Solved

Microsoft SQL: Incorrect syntax near the keyword 'union'. Table: SalesFact.

Hi All,   Can anyone help me with this error. When i refresh data set in powerbi service it give me this error.   Microsoft SQL: Incorrect syntax near the keyword 'union'. Table: SalesFact.   W...
  • amjedashraf's avatar
    amjedashraf
    7 years ago

     

    Hi All,

     

    i got the solution to this error, it was append query which was making the error. I was appending some data from another table. 

     

    if anyone face this error in future always look for append in your query in your table just delete it this error will be resolved.

     

    The append query was working fine but maybe now the data has increased in the table so it was not working fine. Thanks