Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
This is more of a DAX/Power Pivot question but this seems like the best place for this question.
Im basically trying to replace the "grand total" with the the average.
Each column is a given week. the rows include the count of a certain text within my data set. i cant figure out how to get the average of the weeks with Dax
ive tried
measure = sum(count("certain text")) but i get an error saying the sum measure cant use count within it.
Solved! Go to Solution.
if you want the structure in same way then
Create total column as
in that case you need to pivot your table and take column in row and count the number of values per name.
So that it will be dynamic and you do not need to do manual changes everytime.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
Understood, i just dont know how to do that. is that with a measure? or strictly just within the pivot? ive tried to do get the avearge within the pivot but it averages all the columns
thanks again for all your help with this!
Thats a good solution, my main issue is the weeks are going to be growing every week, its not going to always be just 6 weeks
With your method will i have to go in and update the measure every time a new weeks worth of data is added?
Also, will the average be dynamic if i were to use a slicer and look at weeks 2-4 or weeks 1-7?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
            | User | Count | 
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | 
| User | Count | 
|---|---|
| 24 | |
| 11 | |
| 10 | |
| 9 | |
| 8 |