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
Anonymous
Not applicable

Why these 2 measures give a different total?

I have only these 2 measures in a visual:

ovonel_0-1633004812982.png

 

Measure 1:

VAR V1=
ADDCOLUMNS(
VALUES (Fact[Key_Customer] ), 
"C1",             
CALCULATE([RevenueYTD],SAMEPERIODLASTYEAR('Date'[Date]),REMOVEFILTERS(Fact[Segment],Fact[Type])
)  
)

RETURN SUMX(V1, [C1])

 

 

Measure 2:

CALCULATE ( [RevenueYTD], SAMEPERIODLASTYEAR('Date'[Date]) )

 

I use Measure 1 mostly, because I am preventing certain splits, that I prefer grouped by Customer….

 

My question is: why do I get 2 different TOTALS?

ovonel_1-1633005067956.png

(I expected to see the totals as exactly the same. For the above case; I have no filter, its just a clean matrix visualization with both measures as ‘Values’!)

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @Anonymous -

 

Hard to tell specifically without the model, syntax for [RevenueYTD] or any data, but at first glance you do a REMOVEFILTERS in the first one and not on the second one. 

 

Hope this helps

David

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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