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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors