Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
I have two data sets which are related. A Parent Ticket set which includes a unique ID. And then a Child Ticket set of which each are related to one of the Parent Tickets. I have a one-to-many relationship set up from Parent to Child data sets.
Example of the data:
Parent Ticket
Unique ID, some data, some data...
Child Ticket
Unique ID, Create Date, Parent Ticket
What I want to display is some info from the Parent Ticket Data set, and then a column for each month representing the volume of related Child Tickets, by the Month in the Child Ticket Create Date.
Desired result:
Parent Ticket ID 001, some data, Child Ticket Volume January, Child Ticket Volume February, etc...
Parent Ticket ID 002, some data, Child Ticket Volume January, Child Ticket Volume February, etc...
Parent Ticket ID 003, some data, Child Ticket Volume January, Child Ticket Volume February, etc...
I think I may be able to do this by adding 12 columns for the months to the Parent Ticket data, and then some code to count "COUNT DISTINCT WHERE Child Ticket Create Date = "month" ". I wonder if that is the correct approach and how to do it, or if there is an easier way?
Solved! Go to Solution.
I found a solution. I used a Matrix, added all the parent ticket fields to Rows, child ticket Created date to columns, and then Count(distinct) child ticket ID to Values.
In child ticket Create date in columns, delete quarter and day. Filter Year to be 2023. Then delete year from columns, leaving only month (the year filter stays on!) which leaves the month columns.
Then for every single field in Parent Ticket, expand level, and then in format, hide the +/- symbols.
I found a solution. I used a Matrix, added all the parent ticket fields to Rows, child ticket Created date to columns, and then Count(distinct) child ticket ID to Values.
In child ticket Create date in columns, delete quarter and day. Filter Year to be 2023. Then delete year from columns, leaving only month (the year filter stays on!) which leaves the month columns.
Then for every single field in Parent Ticket, expand level, and then in format, hide the +/- symbols.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 30 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 145 | |
| 111 | |
| 64 | |
| 38 | |
| 32 |