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 am attempting to implement a measure that averages a count over the day of the week for a specified time period. When I used Tableau I was able to accomplish his with Level of Detail calculations. It seems like some combination of CountX and AverageX would do the same in PowerBI. I just can't wrap my brain around how to approach this problem.
Here's an example of what I've tired.
The attached visual is a total count for each day. I'd like to see the average count for a specifed time period for a specific day of the week.
Hi @MichaelWinz ,
I created some data:
Here are the steps you can follow:
1. Create calculated column.
Weekday = WEEKDAY('Table'[Date])
2. Create measure.
Measure =
AVERAGEX(FILTER(ALLSELECTED('Table'),'Table'[Weekday]=MAX('Table'[Weekday])),[Value])
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
This doesn't work in my situation. The measure being summed is always 1. What I need is an Average of Sums Across WeedDays.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |