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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Dividing values from 2 matrix.. is it possible?

Hello gurus and this awesome community

 

I have two matrix set up on my power BI page... both of these come from their own slicers.. but slicer filters range is same for both tables.

 

I want to divide each corresponding pack size from matrix on the left to matrix on the right... is that even possible? 

trying to create a price premium/discount index

tbj2009_0-1655557335102.png

Tried searching for it, but being a new powerBI user, wasnt able to get much... 

 

thanks a ton!

4 REPLIES 4
speedramps
Super User
Super User

Sorry, we want to help but you explantion is poor. ☹️

None of the field names in your screen table, report and decsription corrsepond. 

it makes no sense at all ☹️

 

Please top rushing and write a clear description and you will get a quicker answer.

 

Provide some example input data (as tables not screen prints)

with  desired output and a clear description with consistent field names.

Remember not to share private data.

 

 

Anonymous
Not applicable

Please see my data table example below

 

I have a measure that calculates price per unit by Value Sales / Unit Sales 

I also have a standard calendar table with relationship to time column of this table below 

 

Now what I am trying to do is to calculate Manu 2 Brand 1 price per unit premium/discount (division) vs Manu 1 brand 1 - same pack size to same pack size (50 to 50)

 

MarketManufacturerBrandTypeType 2Pack SizeValue SalesVolume SalesUnit SalesTime
GermanyManu 1Brand 1Black CoffeePods5010020010Q1
Germany Manu 1Brand 2Black TeaTea bags651202265Q1
GermanyManu 2Brand 1Black CoffeePods50901270Q1
          
          

 

Currently I am showing two matrix on my BI page for both the brands with their respective packs next to each other (the image I pasted) now I want to divide the respective packs to understand the premium/discount

 

does it make sense now?

speedramps
Super User
Super User

You have not said what is onteh left and right table.

But lets say left contains the premiums and the right contains discount.

 

You need to create a star schema with a 

Calendar dimension (witt date and QQ YY period)

DimProduct (with ProductID and  pack size ) 

FactPremiums(with ProductID, date and premium ) 

FactDiscount (with ProductID, date and discount ) 

 

Then build a premium/discount measures and 1 matrix table suign the Calandar and DimProduct for the rows and columns.

The star relationships will then allow report premium/discount in matrix

 

Thanks for reaching out for help.

I have helped you, now please help me by giving kudos.

Remeber we are unpaid volunteers.

Click the thumbs up and accept as solution button. 

One question per ticket please. If you need to extend your request then please raise a new ticket.

You will get a quicker response and each volnteer solver will get the kudos they deserve. Thank you !

Anonymous
Not applicable

Hi!

thanks for response

 

If I may clarify with more details

 

The table on the left is prices from 1 product and right is 2nd product, I want to divide the respective packs between product 1 and 2 to calcuate its discount/premium 

 

My current data structure is 2 tables as follows

my main table has all data in it... sales, regions etc... is it still possible to do the division?

 

tbj2009_0-1655564342138.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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