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! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 64 | |
| 47 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 184 | |
| 123 | |
| 106 | |
| 78 | |
| 52 |