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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Sriku
Helper IV
Helper IV

Agreegate the table at each customer level

Hi Team,

 

I have transcation level detail table. I want create and new table to agreegrate the avg or total sales and join to transcation table.

How to achieve this:pic.PNG

10 REPLIES 10
harshnathani
Community Champion
Community Champion

Hi @Sriku ,

 

Can you share the expected output.

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

amitchandak
Super User
Super User

@Sriku , Not very clear. Can you share sample data and sample output in table format?

This seems like Matrix with stepped layout off- https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Agreegate table.PNGTranscation_table.PNG

Greg_Deckler
Community Champion
Community Champion

@Sriku - I'm not 100% on the requirement. Looks like a Matrix visualization. Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Agreegate table.PNGTranscation_table.PNG

Hi @Sriku ,

 

You need a measure

 

Average Quantity = AVERAGE('Table'[Quantity])

 

 

HLM = 

SWITCH(
TRUE(),
[Average Quantity] < 4 , "Low",

[Average Quantity] >=4 && [Average Quantity] > 8, "Medium",

"High"

)

 

Drag the customer name, Average measure and HLM measure in the visualization pane.

 

 

If this does not work, please share sample data in text format

 

Regards,

Harsh Nathani

I am getting ""A circular Dependency was detected" error while creating a calculated column"

Hi @Sriku ,

 

You need to create a measure and not calculated column,

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

while creating measure/column/ I am not able to plot graph but when putin metric table it appear. How show the H/M/L in pie after doing average.

 

 

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.