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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Matrix fIltering issue

I am trying to do a comparison between Actuals Values and our Monthly  Financial Estimates in a Matrix.  My Actuals (Values) come over correctly but when I add my Estimate numbers it totals instead of filtering for each given Cost Element (Account Number).  I feel like it's a relationship issue possibly but I'm not sure.  Any help is appreciated.  

 

SS.PNGSS2.PNG

 

 

 

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@Anonymous yes it is a relationship issue. you need to create an active relationship on cost element between your sheet5 and sap data.  since in your visual you are showing the data at cost element level but in the abence of any active relationship between cost element between these two tables, entire value is appearing against each cost element. 

 

I can see there is an inactive relationship between these two tables. in that case, you can use this inactive relationship in your measure to calc correct estimatd value. You can create a measure like below. Please correct the syntex as per the actual names of fields in the data.

 

estimates = calculate(sum(estimates),userelationship(sap_data[cost element], sheet5[cost element])

 




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



Proud to be a Super User!


Follow me on linkedin

View solution in original post

1 REPLY 1
negi007
Community Champion
Community Champion

@Anonymous yes it is a relationship issue. you need to create an active relationship on cost element between your sheet5 and sap data.  since in your visual you are showing the data at cost element level but in the abence of any active relationship between cost element between these two tables, entire value is appearing against each cost element. 

 

I can see there is an inactive relationship between these two tables. in that case, you can use this inactive relationship in your measure to calc correct estimatd value. You can create a measure like below. Please correct the syntex as per the actual names of fields in the data.

 

estimates = calculate(sum(estimates),userelationship(sap_data[cost element], sheet5[cost element])

 




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



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.