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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
Super User
Super User

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors