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
razieh1990
Helper I
Helper I

total value be shown only

Hello

I created a matrix whose column is cities (A, B, C,) and the rows are the list of stations ( AA, BB, CC), and the value is the sale amount per city and station.

I want to add another value: the total sale quantity per station for all cities in the matrix.

so the matrix looks like this visualized below:

 

razieh1990_0-1696634994556.png

 

What I want :

I want to show the sale Amount per city and satation but I want to only display the total sale quantity per station and all cities instead of sale quantity per city and station .

below matrix I want to create , and need your advise how to create it in power bi:

razieh1990_0-1696634944260.png

 

2 ACCEPTED SOLUTIONS
tamerj1
Super User
Super User

Hi @razieh1990 
You may utilize the "Total" to display the quantity 

1.png

View solution in original post

@razieh1990 
You need to look into the table transformation detials inside the Power Query editor in the attached sample file.

1.png

View solution in original post

4 REPLIES 4
tamerj1
Super User
Super User

Hi @razieh1990 
You may utilize the "Total" to display the quantity 

1.png

Hello tamerj1 

Thanks for your solution.

Is it possible to modify the solution you provided and calculate not only sum(sale quantity) but also sum ( sale amount) when it is not in the scope of city as total? 

I mean now we have one column as total quantity at the end of matrix but I want to add total amount as well. 

Do you think it is possible? 

@razieh1990 
You need to look into the table transformation detials inside the Power Query editor in the attached sample file.

1.png

Thank you very much

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.