Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi @Alex_0201 ,
Once converted to columns,you will get fixed values,which wont be changed by your parameter.
Try below expressions:
Total depth = ((
var _stepno = 'DM_WELL_PLAN_OP'[step_no]
return
IF(
_stepno=1,
'DM_WELL_PLAN_OP'[md_from],
LOOKUPVALUE('DM_WELL_PLAN_OP'[md_to],'DM_WELL_PLAN_OP'[step_no],_stepno-1)
))+CD_DATUM[datum_elevation]*(-1)*0.3048
Total time = (CALCULATE(SUM('DM_WELL_PLAN_OP'[target_duration]),FILTER('DM_WELL_PLAN_OP','DM_WELL_PLAN_OP'[step_no]<EARLIER('DM_WELL_PLAN_OP'[step_no])))+0)/24
Hi @v-kelly-msft many thanks! I've used the expression for creating a new column called Total time, but its values are higher than in the measure by constant 0.04. Any idea where is this difference coming from?
Hi @Alex_0201 ,
Could you pls provide me some raw data in editable format to test?
Hi @Alex_0201 ,
Not exactly,this format will be a time cost,if possible,could you pls upload your .pbix file to onedrive business and share the link with us?
Much appreciated.
Hi @Alex_0201 ,
I would say that is not possible.
Columns are static and measures are dynamic.
If the dynamic is to be preserved, this is not possible.
Otherwise you can create a corresponding calculated table if necessary.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |