Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
ancorte
Frequent Visitor

group the rows in a table and calculate MINX and MAXX

Hello, ia have a table like this :

ancorte_0-1645736449380.png

 

I want group the rows by data and after calculate same values, like average, min e max (for every month) of  "utilizzato"/"operativo",

I dont' know how to make it.... i think that i have to use summarize, or calculatetable.

Is there anyoine that can help me ?

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ancorte ,

 

Create a new table like below.

Table 2 = SUMMARIZE('Table','Table'[Column1],'Table'[Column2],"_sum",SUM('Table'[Column3]),"_avg",AVERAGE('Table'[Column3]))

1.jpg2.jpg

 

Best Regards,

Jay

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ancorte ,

 

Create a new table like below.

Table 2 = SUMMARIZE('Table','Table'[Column1],'Table'[Column2],"_sum",SUM('Table'[Column3]),"_avg",AVERAGE('Table'[Column3]))

1.jpg2.jpg

 

Best Regards,

Jay

TheoC
Community Champion
Community Champion

Hi @ancorte 

 

You can create a calculated column for the MIN and MAX and AVG etc by group without needing new tables, etc.  You can use something like the following:

 

Column = CALCULATE ( MIN ( Table[Value] ) , FILTER ( Table , Table[Intermediario] = EARLIER ( Table[Intermediario] ) ) )

 

Just change the "Table" to your table name. 

 

Hope this helps!

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

ancorte
Frequent Visitor

Hi,

yes but i want before summarize the rows for data. In this way i could have a single row for data, and calculate the average, max and min.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.