The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, I've frequently used other users questions and finally I have come up against something that I can't find an answer to.
I would like to create a table that has data buckets on the left side and across the top. I would like to be able to count the number of employees that fall into the combination of the two groups. Specifically I want to know how employees have used 'special PTO' and 'regular PTO'. I have set up data buckets in seperate tables for each 'special PTO' and 'regular PTO'.
I have successfully counted the number of employees in each bucket/PTO type using the following measures:
Both Regular and Special PTO currently have the same buckets, but that may change in the future. Below is a sample of the table setup.
Special PTO Buckets MinRangeValue MaxRangeValue
<10 | 0 | 10 |
10-19 | 10 | 20 |
20-29 | 20 | 30 |
30-39 | 30 | 40 |
40 | 40 | 99999 |
Hi @Anonymous ,
There is a recent series of articles by Reza Rad on www.radacad.com that might help you.
Check out this blogpost: https://radacad.com/age-banding-in-power-bi-using-treatas-dax-function-relationship-based-on-between
If you liked my solution please give it a thumbs up 👍.
If I did answer your question please mark my post as a solution ✅.
Thank you !
Cristian
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |