Forum Discussion
Creating dynamic quarters
- 8 years ago
Hi!
Thanks for your reply. I actually solved it yesterday.
In my date table I created a Year - Quarter column. Then I manually created a new table, called it Year Quarter Selector. It had four columns, first column is the year - quarter the user selects. Then the next column is the following year - quarter. So first could be 2018-Q4 and the second would be 2019-Q1 and so on.
Then I created four measures that used SELECTEDVALUE from my selector. I used them as filters in the chart.
I can clarify with some code if someone is interested.
/Magnus
You may refer to the following post.
Hi!
Thanks for your reply. I actually solved it yesterday.
In my date table I created a Year - Quarter column. Then I manually created a new table, called it Year Quarter Selector. It had four columns, first column is the year - quarter the user selects. Then the next column is the following year - quarter. So first could be 2018-Q4 and the second would be 2019-Q1 and so on.
Then I created four measures that used SELECTEDVALUE from my selector. I used them as filters in the chart.
I can clarify with some code if someone is interested.
/Magnus