on 11-24-2022 2:17 PM
Hi everyone,
I'm new in the WeBI and the BO reports. I have a TimeSeries datetime dimension, that misses some dates. I filled the dates using the TimeDim function as following:
Time Series Completed =TimeDim([TimeSeries];QuarterPeriod)
and then I created these two dimensions:
Current Year = FormatDate([Time Series Completed];"yyyy") and
Quarter = FormatDate([Time Series Completed];"qQ")
I created the vertical table I wanted by drag and drop the Current Year and the Quarter and I get the following table
From this table I want to present only the 2022 and 2021 quarters. I create a new measure
Till Previous Year Completed = ([Current Year Completed] >=(Max(FormatNumber(Year(RelativeDate([Year Completed];-366));"####")) In Report))
and I used it in the table like this
but then I get the following result:
Do you have any suggestion as how to solve this?
Hi,
do you want dynamic filter(last 2 years) or just to select year 2021 and 2022?
I would not overcomplicate it in case of static filter and simply I would choose the requested years.
For dynamic time filters I like to use CurrentDate() function.
Last year = Year(CurrentDate()) - 1
Then you apply filter to the appropriate object select only values >= [Last Year]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.