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
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
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.