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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Substract 1 to working measure

Hi all,

 

I have a working meaure in power pivot in excel and would now want to substract 1 to the final results but can not find how to do it. 

 

My current measure is:  

=Import_Cube[2022_Estimate]/(CALCULATE(SUMX ( Import_Cube, IF ( [Date.Year] ="2021", [Total_CHF], BLANK () ) ),ALL( Import_Cube[Date.Year])))

 

With 2022_Estimate being a measure as well, Import_Cube a table and the measure is used within a power pivot table.

 

For example the measure gives me 0.65 and I would want to do 0.65 - 1 to get -0.35.

 

Thanks in advance. 

 

Best,

 

Fred

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I ended doing it with a intermediary step with two measures.

 

1. Import_Cube[2022_Estimate]/(CALCULATE(SUMX ( Import_Cube, IF ( [Date.Year] ="2021", [Total_CHF], BLANK () ) ),ALL( Import_Cube[Date.Year]))) 

2. (Import_Cube[21-22 yoy growth helper]-1)*MAX(Import_Cube[2022YTD])

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I ended doing it with a intermediary step with two measures.

 

1. Import_Cube[2022_Estimate]/(CALCULATE(SUMX ( Import_Cube, IF ( [Date.Year] ="2021", [Total_CHF], BLANK () ) ),ALL( Import_Cube[Date.Year]))) 

2. (Import_Cube[21-22 yoy growth helper]-1)*MAX(Import_Cube[2022YTD])

 

amitchandak
Super User
Super User

@Anonymous , based on what I got.

 

refer if my blog on the same can help

Traveling Across Workdays - What is next/previous Working day
https://community.powerbi.com/t5/Community-Blog/Travelling-Across-Workdays-Decoding-Date-and-Calendar-4-5-Power/ba-p/1187766

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

Thanks for the answer. I however still did not manage to make it work. I am unsure of what part of the other solution is applicable in my case. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.