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
Hello Folks,
I need the DAX calculation for average out the count of each status as below in table
E.g :- Bug Count :- 15 and Avg would be 15/ 7(Total bug status record is 7) = 2.14 so I want to display that into the other column on each bug status
Thanks,
Anand
Hi @anandsoftweb,
Try this measure:
Bug status = DIVIDE(SUM(Bugs[Count]),COUNT(Bugs[Date]))
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português
Thanks for the reply but I want to keep date column should be there and need to find out the average as per the bug status though it should be repeating in column.
HI @anandsoftweb,
Try this
Bug Average = CALCULATE ( DIVIDE ( SUM ( Bugs[Count] ), COUNT ( Bugs[Date] ) ), ALLEXCEPT ( Bugs, Bugs[Bugs] ) )
Final resutl below:
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português
Thanks for the solution but only allexcept(Bug,Bug[status]) wont be working need to consider date as well to figure out the desired solution.
But useful comment 🙂
Thanks,
Anand
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 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 |
---|---|
168 | |
116 | |
63 | |
57 | |
50 |