Results 1 to 4 of 4

Thread: Pivot table may show absent for employee whose presence is not in source data (SQL)

  1. #1
    Neophyte Ramzan's Avatar
    Join Date
    Jun 2020
    Posts
    2
    Articles
    0
    Excel Version
    2016

    Question Pivot table may show absent for employee whose presence is not in source data (SQL)



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I need help for employees attendance report built by pivot table on check in and check out data.
    I have used power query and added some custom columns to calculate Present and Absent employees. Also created calendar and employees list tables in data model and created relationships between tables.
    Please see attachment. Pivot table should show absent for the employee whose presence is not in source data.
    Please help and guide me that what Am I missing?
    Please suggest some Custom Column / Calculated Column / Measure etc for desired result.
    Please suggest some solution which may not increase the lines (Records) too much.
    Attached file has just small table of source data as a sample. My actual data is in SQL and has many columns and rows.
    Thanks and regards in advance.

  2. #2
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,435
    Articles
    0
    Excel Version
    Office 365 Subscription
    Welcome to the forum.


    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please provide the requested link. Thanks.
    Ali
    Enthusiastic self-taught user of MS Excel!

  3. #3
    Neophyte Ramzan's Avatar
    Join Date
    Jun 2020
    Posts
    2
    Articles
    0
    Excel Version
    2016
    Quote Originally Posted by AliGW View Post
    Welcome to the forum.


    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please provide the requested link. Thanks.

    My assistant posted this query on my behalf. He did not know the status of query posted on other forum by me. Actually we needed the solution urgently as some work is halted. I am very sorry for posting in more than one forum. Link of query on other forum is
    https://www.excelforum.com/excel-cha...urce-data.html
    I am very sorry and I promise to follow the rule in future.

  4. #4
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,435
    Articles
    0
    Excel Version
    Office 365 Subscription
    You should not be allowing a third party to be using your account here or anywhere else.

    For what it’s worth, you didn’t need to invent an assistant as an excuse. All you needed to do was provide the link, so thanks for that, but your excuse gave me a good laugh.
    Ali
    Enthusiastic self-taught user of MS Excel!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •