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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
arcanri
Frequent Visitor

Calculating Gross Revenue Based on Location and Product Type

Hello, 

 

I am trying to calculate gross revenue by muliplying product quantities from one table and prices from another table.  The price table contains a location field, product type field, and the price.  The product quantity table contains product quantities, a product type field, but not a location.  Ultimately, I'm looking to develop a matrix report with the location as column headers, product type as rows, and gross revenue as the data.  How would I go about calculating gross revenue?  Please see tables below:

Product Quantity Table

Product TypeProduct Quantity
1

5.2

27.3
39
17
23.1
3

7

 

Price Table

 

LocationProduct TypePrice
A1$50
A2$100
A3$150
B1$200
B2$250
B3$275
C1$30
C2$80
C3$90

 

Desired Report

 

 LocationLocationLocation
Product TypeABC
1Gross Rev ValueGross Rev ValueGross Rev Value
2Gross Rev ValueGross Rev ValueGross Rev Value
3Gross Rev ValueGross Rev ValueGross Rev Value

 

Thank you for your help!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1717199359031.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
arcanri
Frequent Visitor

It worked! Thank you!

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1717199359031.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you for your help! Your solution did work.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.