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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors