I have two hypothetical tables in PowerBI. The first one, called Query1
, has various sale transaction numbers, many of them happening on similar dates (also included). So, we have two pertinent in Query1
, and they are 'Query1'[transaction_number]
and 'Query1'[transaction_date]
.
Now, suppose I'd like to create another table, called Query2
. The first column is set to 'Query1'[transaction_date]
. The second column should be the count of transaction numbers associated with that date, with the underlying information taken from Query1
.
I've tried the following:
transaction_count = COUNT('Query1'[transaction_number])
but unfortunately, all I got was a column of the total number of transaction numbers regardless of transaction date. I'd like a column with the count of each transaction per that specific day.
Thanks in advance.