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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Help with a delta measure for total

Hello all,

 

I am trying to get the delta in this Total column and not the sum. I figure this would be something straight forward to do, but I am not able to find anything or figure it out. Can someone point me in the right direction? Thank you!

 

Power BI Totals.jpg

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , use isfiltered or isinscope and change GT

 

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I can't seem to get the isfiltered to work and what is GT? This is how my dax formula looks 

Diff = IF ( ISFILTERED ( Table[Date] ), SUM ( Table[Amount] ), CALCULATE ( SUM ( Table[Amount] ), VALUES ( Table[Company] ), Table[Date] = 201806 ) - CALCULATE ( SUM ( Table[Amount] ), VALUES ( Table[Company] ), Table[Date] = 201807 ) )
 
Thank you @amitchandak  for the help! 

 

Anonymous
Not applicable

Hi @amitchandak, any recommendations from my last post?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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