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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
peoplehelpme
Helper I
Helper I

measure sum with filter but it give me wrong sum number

Dear sir

please help me 

i dont know why

this sum value gone wrong ,which i use filter'FY'from another table

peoplehelpme_0-1709086070343.png

buy when i use 'FY' from the same table , it result in right value ,

can anyone explain me pls and how to fix it if i want to use 'FY' from another table

i guess it might be the problem with data relationship but i dont know how to choose it properly

 

picture of 'FY' from another table:

peoplehelpme_1-1709086828474.png

picture of 'FY' that give me right sum value:

peoplehelpme_2-1709086887267.png

here is relationship between 2 table:

peoplehelpme_3-1709086972811.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @peoplehelpme ,

Please have a try.

_result = 
var _b = SUMMARIZE('table','table'[date],"aaa",'table'[yourmeasure])
return
IF(HASONEVALUE('table'[date]),[yourmeasure],SUMX(_b,[aaa]))//you can change the [date] to the unique column (like index column ) in you table//

Or I have also found a similar post, please refer to.

Solved: Re: Incorrect total in Matrix - Microsoft Fabric Community

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @peoplehelpme ,

Please have a try.

_result = 
var _b = SUMMARIZE('table','table'[date],"aaa",'table'[yourmeasure])
return
IF(HASONEVALUE('table'[date]),[yourmeasure],SUMX(_b,[aaa]))//you can change the [date] to the unique column (like index column ) in you table//

Or I have also found a similar post, please refer to.

Solved: Re: Incorrect total in Matrix - Microsoft Fabric Community

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

peoplehelpme
Helper I
Helper I

the right answer should be 3.91 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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