Forum Discussion
Anonymous
6 years agoNot applicable
Struggling with looking up a value
Hi all, I have the following report: Entries, Durations, Orders and Products are all tables that I use in this report. You can also find them at the bottom of this post. In add...
- Anonymous6 years ago
created a spin-off topic:
v-chuncz-msft
Community Support
6 years agoAnonymous
6 years agoNot applicable
v-chuncz-msftHi, I'm trying to apply it but I don't see how because I'm working from multiple tables.. I have the ID from Products, a '1' for every ID that includes the sliced datetime based on the entries, a '1' for every ID that includes the sliced datetime based on the durations, the minimum start date that belongs to the duration(s) that includes the sliced datetime... and now I just need to pick up the corresponding Category that belongs to a certain ID and minimum start date.
Measurex =
MAXX(
TOPN( 1; FILTER (
Durations;
Durations[Start] <= MAX ( 'calendar'[Date] )
&& Durations[End] >= MIN ( 'calendar'[Date] )
&& Durations[Start] <> BLANK ()
); ...; ... );
...
)
I feel like I'm overcomplicating..
- Anonymous6 years agoNot applicable
created a spin-off topic: