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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Matrix pulling in overall average instead of specific average/data dissapearing.

I have been messing with this for a couple days. I want to see the overall sum of the average sales price of all of these parts for each section, and the sum of the overall average sales price of the sections for each sytem.

 

GSB0302_0-1716405525464.png

 

I have the matrix set up correctly finally. But now it is pulling in the overall average price of everything, instead of specific to the material. "Avg Sales Price" is a measure I created.

GSB0302_1-1716405590711.png

 

I thought this was  an issue of tying "material" from 'TD System Group' to "material" in 'Main Data' which is where I created the "Avg Sales Price" measure (note this relationship doesn't exist in the first picture).

GSB0302_2-1716405678279.png

 

When I add this relationship however, a lot of the material part numbers dissapear from the matrix, is there any idea why?

GSB0302_3-1716405753053.png

 

I know  they exist in the "Material" section of "Main Data", and that there is data for them. There has to be a way to pull in the average price for these part numbers, instead of the overall average price of everything. Or to keep these part numbers from dissappearing.

 

 

1 REPLY 1
Wilson_
Super User
Super User

GSB0302,

 

Without knowing the data in your tables, the solution might simply be to turn the two bi-directional relationships to single direction relationships (with the tables on the right filtering the table on the left). Bi-directional relationships should be very rare in your data model. I'm assuming your tables on the right are dimension tables and the table on the left is a fact table.


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)

 

P.S. Need a more in-depth consultation for your Power BI data modeling or DAX issues? Feel free to hire me on Upwork or DM me directly on here! I would love to clear up your Power BI headaches.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.

Top Solution Authors