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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.