Forum Discussion
jeroenterheerdt
Microsoft Employee
2 years agoShare your thoughts on visual calculations (preview)
Hit "Reply" and let us know what you think of visual calculations! To learn more about this feature, please visit the blog post or our documentation. Here are some areas that we'd like to hear ab...
Gepax
Advocate I
1 year ago
I found an alternative… Ideally, it would work natively with the field parameter, but this is what I managed to do.
I manually created a field parameter:
prm_M_Tipo_Combustivel =
DATATABLE(
"Tipo",
"Tipo",
STRING,
{
{"Diesel"},
{"Arla"}
}
)
After that, I created a measure that uses “Measure A” if “Diesel” is selected, or “Measure B” if “Arla” is selected.
I used this measure in the visual, created a moving average (visual calculation), and it adjusts according to the selected option.
jeroenterheerdt
Microsoft Employee
1 year agogot it, yes that works, but it's a workaround. Ideally this should work more directly. Thanks for sharing!