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 🙂 Is it possible to convet this measure into a column?
Hi @Alex_0201 ,
I could not know the result you want based on a single measure. Please upload some data samples and expected output.
Last but not least! Please do mask sensitive data before uploading.Thanks.
Best regards,
Eyelyn Qin
@Alex_0201 , As you are using a slicer value. It will not respond to the changes in the slicer. Only the first value will be taken while creating the column. I think not possible.
@Alex_0201 , leave it like measure use "values", or summarize to put a context.
example
sumx(Values(Table[User]),distinctCOUNT(Table[category]))
sumx(summarize(Table,Table[User],"_1",distinctCOUNT(Table[category])),[_1])
https://www.youtube.com/watch?v=My0bLn9voo4
Hi @Alex_0201
try smth like
Total depth =
var _stepno = 'DM_WELL_PLAN_OP'[step_no]
var _tmp =
IF(
_stepno=0,
'DM_WELL_PLAN_OP'[md_to],
LOOKUPVALUE('DM_WELL_PLAN_OP'[md_to],'DM_WELL_PLAN_OP'[step_no],_stepno+0)
)
return
_tmp
+
SUM(CD_DATUM[datum_elevation]))*(-1)*0.3048
Hi @az38 thanks! but get this error message:
A table of multiple values was supplied where a single value was expected.
I think it's because one (or all) of mentioned fields in statement is a measure that should be rewrtitten also
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 |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |