Group by Percentage

Hi there!

I'm trying to figure out how to get the percentage of rejected x-ray images by reject reason. I built a simple ETL that gives me the count of rejected images by reason for each type of x-ray (body part) along with the total # of x-rays for that body part (Acquisition).

I'm stuck on how to get the % of rejects per body part and could use some help.

Many thanks! C


Best Answer

Answers

  • I would suggest adding another group by that aggregates by body part and then join it back to your initial group by. You can then use the formula tile to calculate the percentage. If you are unaware, you can have multiple lines go out from any tile so that you can perform different operations such as this and then join them back together.


    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • user17774
    user17774 Member
    Answer ✓

    Works perfectly! Thanks so much for your help!

  • @user17774 Glad that worked for you. If you can accept any answers that helped you, that will help others in the community.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.