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 have a requirment to average by 2 Categories i.e. By Date (Year/Quarter/Month) and by Market. How could I get in DAX average by tow categories?.
Using Quick Measure I get this , how to add another category - By Date (Year/Quarter/Month)?
Solved! Go to Solution.
Hi @Anonymous ,
You could try ALLEXCEPT() function.
Measure = CALCULATE(AVERAGE('Table'[value]),ALLEXCEPT('Table','Table'[date],'Table'[categories])
Best Regards,
jay
Thanks for the reply, but in the DAX I need to summarize by 2 categories ,
1. By Date
2. By Market
I used below Dax. but in my visualtion I add this new measure along with the Date or Office get Error
Hi @Anonymous ,
You could try ALLEXCEPT() function.
Measure = CALCULATE(AVERAGE('Table'[value]),ALLEXCEPT('Table','Table'[date],'Table'[categories])
Best Regards,
jay
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |