Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community.
I have planned sales data in a monthly line chart from Jan to Dec.
I have the following expression and what I am trying to accomplish is to have a data point that shows the monthly total and changes as we go from month to month:
Count({$<[Date Type]={'VPP Dates'},Reference_Only={'No'},Date={$(=Date(Today(),'MMMM'))}>}Gateways)
I am getting zero when I throw the equation in a text box.
any help rendered will be truly appreciated.
I think I got it...
I will have to check tomorrow to see if the month will change to December, but thus far I am able to show as intended:
Dual('Current Month, '& Count({$<[Date Type]={'VPP Dates'},Reference_Only={'No'},[Month of Year Abbreviated Name]={$(=Date(Today(),'MMM'))}>}Gateways),
Count({$<[Date Type]={'VPP Dates'},Reference_Only={'No'},[Month of Year Abbreviated Name]={$(=Date(Today(),'MMM'))}>}Gateways) )
Thanks for the response.
I do have a master calendar and when I used your suggested formula, it said the expression was OK but I got a result of zero.
This is my Master Calendar data:
LOAD %Date,
Date,
Year,
[Quarter Number],
[Quarter Name],
[Month of Year],
[Month of Year Name],
[Month of Year Abbreviated Name],
[Week of Year],
[Day of Week],
[Day of Week Name],
[Day of Week Abbreviated Name],
[Day of Month],
[Day of Year],
[Days in Month],
Date(MonthStart(Date),'MMM YY') as YearMonth,
[Leap Year Flag],
[Weekend Flag],
[Production Month],
[Production Year],
[Issue Number],
[Julian Date],
[Week Ending Friday]
I tried using Month of Year:
=Date(Today(),'MMM')& ', '& Count({$<[Date Type]={'VPP Dates'},Reference_Only={'No'},[Month of Year]={"$(=[Month of Year](today ())"}>}Gateways)
It still didnt work.
Use same function on today as when you are creating yearmonth
Count({$<[Date Type]={'VPP Dates'},Reference_Only={'No'},[Month of Year]={"$(=Date(MonthStart(today()),'MMM YY')"}>}Gateways)
Yes I tried that too and it still didn't work...
All I want to show is this months distribution and not every other month (YTD), currently the graph is showing Jan through Dec as the expression is a count of total planned for each month.
Nothing Dilipranjith, still nothing...