Forum Discussion
IgorKaradzic
Helper I
2 years agoCan' assign table elements to variables
Hi guys, i am trying to assign for example VAR test = 'Query1'[Field] but it doesn' work. Erorr is can't find name 'Field' but i know for a fact that it exists and i'm not spelling it wrong. Can ...
Dangar332
Resident Rockstar
2 years agohi, IgorKaradzic
if its measure then need to provide aggregation function like
min(),max(),sum()...
so maybe try with VAR test = min('Query1'[Field])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
IgorKaradzic
Helper I
2 years agoI don't need min or max. I need currently selected value.