Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, everyone.
Could you help me?
I created this calculated dimension, but I can't insert it into a table or use the dimension's values in a filter to filter my table.
When I insert the dimension into a filter, the value "Invalid Dimension" is returned after adding it.
How could I solve it?
Olá,
Consegue compartilhar uma amostra?
Dá uma olhada em ValueList(). Basicamente você define a dimensão na tabela ou gráfico como:
ValueList('A', 'B', 'C')
Na medida você conseguiria calcular os valores da dimensao separadamente como:
If(ValueList('A', 'B', 'C') = 'A', Sum(x))
PS: Se houverem muitos valores no campo da dimensao/valuelist, vc poderia adicionar em uma variável e evitar repetir, algo como:
If(vDimensionList = 'A', x, If(vDimensionList = 'B', y)) ....