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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.