Skip to content

How to recreate store lookup based on an aggregated value #689

Answered by Skyscimitar
ollien1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Ollie,
You can use the tt.where or the tt.switch functions to create measures requiring if/else logic. You could probably combine this with the tt.agg.single_value and tt.at functions to recreate the behavior you want.

If you need more help recreating the measure, could you share your datastore cube structure so we can advise you on the best way to create this measure.

FYI the lookup function is coming in the next version of atoti.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ollien1
Comment options

@Skyscimitar
Comment options

Answer selected by Skyscimitar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants