Forum Discussion
easyleesie
Helper I
6 years agoCreate daily average for the month - new table
Hi all I have a table with daily values: 1 Jan: 10 3 Jan: 15 4 Jan: 20 etc I would like to have a new table with Jan: average for table above (in this case 15) How do I do this?...
- 6 years ago
based on the sample data you provided, you can try this to create a new table.
Table 2 = VAR tbl=ADDCOLUMNS('Table',"Month",FORMAT('Table'[date],"mmm")) return SUMMARIZE(tbl,[Month],"average",AVERAGE('Table'[value]))
ryan_mayu
Super User
6 years agobased on the sample data you provided, you can try this to create a new table.
Table 2 =
VAR tbl=ADDCOLUMNS('Table',"Month",FORMAT('Table'[date],"mmm"))
return SUMMARIZE(tbl,[Month],"average",AVERAGE('Table'[value]))
- Syndicate_Admin2 years ago
Administrator
Thank you. I'm going to reply and I'll tell you.