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.
I'm stuck on a simple one, also looked in the dax manual but I'm not able to find the solution.
I want to obtain a count of, say, transactions by date, filtering on a different column. So, let's say I have the table 'cool', the columns [Date], [Transactions], and a third column with object sold [Object]. I want to create a new table, containing the dates and the count of transactions.
Table = SUMMARIZE('Cool','Cool'[Date],"Sales",COUNT('Cool'[Transactions]))
Now, how can I obtain the count of transactions per date for 'Cool'[Object]="Toy"?
Thanks
Solved! Go to Solution.
Hi @andre_kauber,
You could modify your formula as below:
Table =
SUMMARIZE (
FILTER ( Cool, Cool[Object] = "Toy" ),
Cool[Date],
"Sales", COUNT ( Cool[Transactions] )
)
Regards,
Yuliana Gu
Hi @andre_kauber,
You could modify your formula as below:
Table =
SUMMARIZE (
FILTER ( Cool, Cool[Object] = "Toy" ),
Cool[Date],
"Sales", COUNT ( Cool[Transactions] )
)
Regards,
Yuliana Gu
Hello! What I have to do if I need filter by two or more criterias?
Thank you!
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 |
---|---|
72 | |
70 | |
57 | |
37 | |
36 |
User | Count |
---|---|
85 | |
65 | |
60 | |
46 | |
45 |