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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Priya2007
Frequent Visitor

Measure total is not correct

Hi ,

I am using below measure :

Actuals = CALCULATE(sum(Transactions[ACTUAL_AMOUNT]),

Filter(Transactions,
SELECTEDVALUE('Transactions'[FISCAL_PERIOD])<=SELECTEDVALUE('Date'[Financial Period Number])),
Filter (Transactions,Transactions[Activity Code Num] >= 3000) ,
filter (Transactions,NOT[Expense Code Num] in {606,607})

)
Two tables used in this measures are not joined.
 
Result 
Capture.PNG
If any one can suggest how to get the correct total for actuals would be great.

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Try this expression replacing the table names with your actual ones.  It references your existing measure and should give you the right result on both the rows and the total.

 

New Actuals = SUMX(SUMMARIZE(Table, Table[Project No], Table2[Fiscal Period]), [Actuals])

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

Try this expression replacing the table names with your actual ones.  It references your existing measure and should give you the right result on both the rows and the total.

 

New Actuals = SUMX(SUMMARIZE(Table, Table[Project No], Table2[Fiscal Period]), [Actuals])

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.