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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.