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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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 PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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