Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, I have 4 tables, in each there is a column with IT ticket numbers - in each table the column is called 'Number'. I want to count the number of ticket references in each column then total them up to get the total number of ticket references. How would I do this? It's something I could quite easily do in Excel so assume it's similar when creating a measure in Power Bi, but I just can't get it to work.
Hi, thanks for the feedback. In the end I did separate counts on each table column so that I could split the counts individually.
@Anonymous Maybe:
Measure =
VAR __TicketNum = MAX('Table'[Ticket Number])
VAR __Table1 = SELECTCOLUMNS(FILTER('Table1', [Ticket Number] = [Ticket Number]),"__TicketNum",[Ticket Number])
VAR __Table2 = SELECTCOLUMNS(FILTER('Table2', [Ticket Number] = [Ticket Number]),"__TicketNum",[Ticket Number])
VAR __Table3 = SELECTCOLUMNS(FILTER('Table3', [Ticket Number] = [Ticket Number]),"__TicketNum",[Ticket Number])
VAR __Table4 = SELECTCOLUMNS(FILTER('Table4', [Ticket Number] = [Ticket Number]),"__TicketNum",[Ticket Number])
VAR __Resut = COUNTROWS(UNION(__Table1, __Table2, __Table3, __Table4))
RETURN
__Result
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
80 | |
59 | |
35 | |
35 |
User | Count |
---|---|
100 | |
60 | |
56 | |
46 | |
41 |