Forum Discussion

Power-User's avatar
Power-User
Frequent Visitor
2 years ago

Group By

Wondered if anyone could put me on the right track.

I have a table with 5 columns

ID, Present, Authorised, UnAuthorised, Date

  • I want to aggregate the table by the ID between Dates
  • Then calculate the % of Present/(Authorised+UnAuthorised+Present)
  • Then check to see how many % are below 90%

This seems a simple question but I am getting confused with how to combine GROUPBY , SUMMERIZE and can this be done dynamically when a date slicer is changed ?

3 Replies

    • Power-User's avatar
      Power-User
      Frequent Visitor

      I have a larger data set but cant upload the pbx file with it in.

      Primary KeyPresentAuthorised AbsenceUnAuthorisedMark date
      Person 10009/5/2022
      Person 10009/6/2022
      Person 10009/7/2022
      Person 11009/8/2022
      Person 11009/9/2022
      Person 11009/12/2022
      Person 11009/13/2022
      Person 11009/14/2022
      Person 11009/15/2022
      Person 11009/16/2022
      Person 11009/20/2022
      Person 11009/21/2022
      Person 11009/22/2022
      Person 11009/23/2022
      Person 11009/26/2022
      Person 11009/27/2022
      Person 10009/28/2022
      Person 11009/29/2022
      Person 11009/30/2022
      Person 110010/3/2022
      Person 110010/4/2022
      Person 110010/5/2022
      Person 110010/6/2022
      Person 110010/7/2022
      Person 110010/10/2022
      Person 110010/11/2022
  • eliasayyy's avatar
    eliasayyy
    Memorable Member

    pk thank you can you please let me know if you ened a new calculated table or just measures?