Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I encountered one problem about average, as below:
table is listed by WeekNum, so repeated month No. will be shown, then when calcuate average by month, it will be error.
any solution to exclude this? thanks a lot!
| Week | Month | Data | |||
| WK01 | 1 | 11 | average Should Be | ||
| WK02 | 1 | 11 | 11.5 | ||
| WK03 | 1 | 11 | |||
| WK04 | 2 | 12 | But, actually | ||
| WK05 | 2 | 12 | 11.4 | ||
Solved! Go to Solution.
@Anonymous
Try as measure
avergageX(summarize(table,table[Data]),[Data])
or
avergageX(summarize(table,table[Month],table[Data]),[Data])
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 33 | |
| 33 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 45 | |
| 30 | |
| 26 |