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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.