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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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