Forum Discussion
count something based on two criteria
Hello,
I was seeing if I can get some help on the following scenario of data:
I have table 1 with the following data:
| Truck# | Audit |
| 100 | A |
| 100 | B |
| 100 | B |
| 100 | C |
| 101 | A |
| 101 | B |
| 101 | B |
| 101 | C |
| 101 | C |
I need to take this data and be able to create the following table2 from it using calculated columns: basically need to know how many times each audit shows up for each truck number. Thanks!
| Truck # | Audit A | Audit B | Audit C |
| 100 | 1 | 2 | 1 |
| 101 | 1 | 2 | 2 |
- Anonymous3 years ago
Hi ANTBressi ,
For your reference:Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
2 Replies
- Greg_DecklerCommunity Champion
ANTBressi Can you not just create a matrix visual with Truck in rows, Audit in Columns and a simple measure like:
Measure = COUNTROWS('Table')
- AnonymousNot applicable
Hi ANTBressi ,
For your reference:Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data