Access 2007 Crosstab Query Expression

后端 未结 1 1489
鱼传尺愫
鱼传尺愫 2021-01-16 00:26

Goal: to create a percentage column based off the values of calculated columns.

Here\'s the SQL code of the Crosstab query:

TRANSFORM Count(Master_Ca         


        
相关标签:
1条回答
  • 2021-01-16 00:59

    Try:

    SELECT 
        xTab.Analyst,
        [Completed]/([Total of ID]/100) AS [Complete%], 
        [In Process]/([Total of ID]/100) AS [In Process%],
        [Not Started]/([Total of ID]/100) AS [Not Started%]
    FROM xTab;
    
    0 讨论(0)
提交回复
热议问题