March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
@Anonymous , Not very clear
Try like
AVERAGEX(Summarize('Office','Office'[Market],'Office'[Market], "_1",CALCULATE(SUM([Column1]))), [_1])
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
165 | |
116 | |
63 | |
57 | |
50 |