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

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

Reply
tim-hammond
Frequent Visitor

Extract Value from one column based on Value of another.

Greetings - This is a really simply one for you guys - not so simple for me being a rank amateur....

 

I would like to make a new column or measure that takes a value out of one column based on the context of another and changes it by 0.5

 

column query.PNGAbove is where i am - what i wish to do is filter Call Machine by SCHEDULED CALL and echo the value of Site Time [in this case 8] into the column 'SLA less travel' and MINUS 0.5 [30 mins] so the end result it this example will be 7.5 where it currently says true.

 

Thank you very much in advance!

Tim

 

1 ACCEPTED SOLUTION

You can try 

SLA less travel =
IF (
    'APRIL Remote Time'[[Call_Machine] = "Schedule Call";
    'APRIL Remote Time'[Site Time] - 0,5;
    'APRIL Remote Time'[Site Time]
)

If is "Schedule call" it will return the value minus 0.5 and if not it will echo the value

Konstantinos Ioannou

View solution in original post

4 REPLIES 4
tim-hammond
Frequent Visitor

 

column query1.PNGcolumn query3.PNG

 

@tim-hammond You can try 

SLA less travel =
IF (
    'APRIL Remote Time'[[Call_Machine] = "Schedule Call";
    'APRIL Remote Time'[Site Time] - 0,5;
    'APRIL Remote Time'[Site Time]
)

If is "Schedule call" it will return the value minus 0.5 and if not it will echo the value

Konstantinos Ioannou

Thank you very much Konstantinos!

 

That is perfect - i edited it a bit as i need the SCHEDULED CALL time less 30 minutes so this is what i have now...

SLA less travel =
IF ('APRIL Remote Time'[Call_Machine] = "Scheduled Call",' APRIL Remote Time'[Site Time] - 0.5)

 

This will add to my crib sheet 🙂 Good Luck!

 

Tim

You can try 

SLA less travel =
IF (
    'APRIL Remote Time'[[Call_Machine] = "Schedule Call";
    'APRIL Remote Time'[Site Time] - 0,5;
    'APRIL Remote Time'[Site Time]
)

If is "Schedule call" it will return the value minus 0.5 and if not it will echo the value

Konstantinos Ioannou

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.