Forum Discussion
Filter table for selected Date but next year
- 7 years ago
Anonymous i do not think you can use selected value in this context, you can grab the value from selected value but as soon as you use it to filter another table, it seems to set the filter context to blank. I dont think ive ever tried as hard to solve an issue because it has me baffled but i think its the filter context of selected value is not propagated outside of the table it belongs to.
Anonymous
not quite sure what you asking,
where do you want the measure? are your slicers correct
so you want to create a measure in the right column? can you share your file or code?
- Anonymous7 years agoNot applicable
Would like to only create an example file unless i really have to..
What i was talking about my measures and tries, never mind, was only to show my thoughts on this.
Yes, i want a measure for my right table to filter the dates according to the slicers in the left half.
Selected [From] in slicer: 01.06.2018
Selected [Till] in slicer: 31.05.2019
Right table should only show entries where [From] = 01.06.2019 and [Till] = 31.05.2020
Does this help a little?
- Anonymous7 years agoNot applicable
Hi vanessafvg
i now tried another way. Duplicated my orderlines table. in the duplicate i make an the following if:
FromIsNextPeriod = IF('ssbi Orderlines_dupe'[From].[Date] = [SelectedFrom_NextYear];"true";"false")Weired thing is, in the table the two values are the same, but the if says "false":
How is this possible? Both have date format, tables are not connected to each other.
- vanessafvg7 years ago
Community Champion
can you paste the data into the screen Anonymous
then i can try and play with it obviously its not seeing it as the same but i dont know why.