Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Access (https://www.askmehelpdesk.com/forumdisplay.php?f=441)
-   -   Create Percent of Row Total in Access Crosstab Query (https://www.askmehelpdesk.com/showthread.php?t=758665)

  • Jul 17, 2013, 11:51 AM
    jakester
    Create Percent of Row Total in Access Crosstab Query
    Ok, so I think this should be easy but I'm having some difficulties getting this to work.

    I have User, Hours, and Category fields in a crosstab query. I'm totaling the hours for each user in a Column called Total Hrs. What I would like to do is to keep the Total Hrs but represent the individual percentages of time spent in each Category for the user, rather than displaying the Hours.

    So it would look like:


    <table>User Administration Employee Eng M&P TAFW Total Hrs
    Joe Smith 15% 35% 25% 25% 300.00</table>
  • Jul 17, 2013, 01:24 PM
    ScottGem
    I'm not sure you can do that in the same query. You might have to work with the resulting crosstab and add calculated columns to it.

  • All times are GMT -7. The time now is 05:33 PM.