I am trying to calculate growth in count of items (Month-over-Month) based on dates they were created at. I am getting wrong numbers when I use this formula:
{FIXED: COUNTD(IF MONTH ([Created Date]) = {MAX(MONTH([Created Date]))} THEN [Item ID] END )}
then
{FIXED: COUNTD(IF MONTH ([Created Date]) = {MAX(MONTH([Created Date]))} THEN [Item ID] END )} -1
Knowing that Item ID is a string, ie alphanumeric
For LOD expressions, depending on what you're going after, you will need to place dimensions before the colon. This would be worth a try.
Example:
{FIXED [dimension 1],[dimension 2]: COUNTD(IF MONTH ([Created Date]) = {MAX(MONTH([Created Date]))} THEN [Item ID] END )}
or in general:
{FIXED [dimension 1],[dimension 2]: Aggregation END )}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.