on 09-26-2018 12:12 PM
hi all,
I'm working on a project i wanna calculate MTD , YTD and Day. ? I wanna show data based on Day and Month or Year wise it is possible or not if it is possible than how can i do this please let met know.
HI
You can try and crate the following dimensions and measure
Current Month: if Length(1 * Month(CurrentDate())) = 1 then "0" + Month(CurrentDate()) else Month(CurrentDate())
then you create a year dimension
Current Year: if Length(1 * Year(CurrentDate())) = 1 then "0" + Month(CurrentDate()) else Year(CurrentDate())
and then create a measure
if {Current Month} = {Month} and {Current Year} = {Year} then {Revenue [DKK]} else 0
The Year and Month comes from your imported data
maybe this can help a bit
Br René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK thank you ma'am.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.