Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
84 | |
72 | |
68 | |
41 | |
35 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
42 |