Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
If I replace Max(B) with the maximum value of B in the following line.
Sum({$<B={Max(B)}>}A)
It Works as desired but the Max value of B can change and it is not practical to update manually
If you only need to consider one value for max(B), you can do
Sum({$<B={$(=Max(B))}>}A)
If you need a different max(B) for each dimension row, you'll need to code it as:
Sum(If(B=aggr(max(B), dimension), A)
where dimension is the chart dimension(s)
-Rob
If you want to make consultant for irrespect of filters you need {1}
Try a dollar sign expansion
Sum({$<B={$(=Max(B))}>}A)
If you only need to consider one value for max(B), you can do
Sum({$<B={$(=Max(B))}>}A)
If you need a different max(B) for each dimension row, you'll need to code it as:
Sum(If(B=aggr(max(B), dimension), A)
where dimension is the chart dimension(s)
-Rob