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
emk153
New Member

Make value scalar, Subtract baseline value from other values.

Need help with how to unlink baseline value with its associated design strategy.
 
Avoided Carbon =
   // Grab baseline value
   CALCULATE([Carbon Total], 'LCCA Calculations'[Design Strategy]==SELECTEDVALUE('Z Baseline Key'[Design Strategy]))
   // Subtract other options
   - [Carbon Total]
 
Currently, this is the output.
emk153_0-1714617465294.png

This is the desired output. For example: the PV's Avoided Carbon is (Baseline) 261,071 - (Carbon Total) 231,351 = 29,720

emk153_1-1714617936329.png
1 ACCEPTED SOLUTION
DataNinja777
Super User
Super User

Hi @emk153 ,

 

You can achieve your required output in many ways, but one way is as follows:

You can create a [Baseline (all)] measure which ignores filter of Design Strategy field, and deduct [Carbon Total] measure from the Baseline (all) measure.  

 

DataNinja777_0-1714621727427.png

 

I attach the pbix file as an example.  

Best regards,

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @emk153 ,

 

You can achieve your required output in many ways, but one way is as follows:

You can create a [Baseline (all)] measure which ignores filter of Design Strategy field, and deduct [Carbon Total] measure from the Baseline (all) measure.  

 

DataNinja777_0-1714621727427.png

 

I attach the pbix file as an example.  

Best regards,

you are my hero. thank you so much.

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.

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.