• Charles Tee
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I encountered error while setting my dataset JSON XMD with date fields for fiscal year.
Below is JSON XMD i add in:
"dates":[
    {
        "alias" : "accounting_date",
        "label" : "Accounting date", 
        "firstDayOfWeek" : 0,
        "fiscalMonthOffset": 3,
        "fields" : {
          "day" : "accounting_date_Day",
          "epochDay" : "accounting_date_day_epoch",
          "epochSecond" : "accounting_date_sec_epoch",
          "fullField" : "accounting_date",
          "hour" : "accounting_date_Hour",
          "minute" : "accounting_date_Minute",
          "month" : "accounting_date_Month",
          "quarter" : "accounting_date_Quarter",
          "second" : "accounting_date_Second",
          "week" : "accounting_date_Week",
          "year" : "accounting_date_Year",
          "fiscal​Week" : "accounting_date_Week_Fiscal",
          "fiscal​Month" : "accounting_date_Month_Fiscal",
          "fiscal​Quarter" : "accounting_date_Quarter_Fiscal",
          "fiscal​Year" : "accounting_date_Year_Fiscal"
 
        }
    }
],

When i tried to replace the JSON file into my dataset, it keep give me error below:
Unrecognized field "fiscal​Week"

It works well if remove all define fiscal year fields. But i need to set fiscal year to my dataset for visualization better.
 
Anyone can advise?
I encountered error while setting my dataset JSON XMD with date fields for fiscal year.
Below is JSON XMD i add in:
"dates":[
    {
        "alias" : "accounting_date",
        "label" : "Accounting date", 
        "firstDayOfWeek" : 0,
        "fiscalMonthOffset": 3,
        "fields" : {
          "day" : "accounting_date_Day",
          "epochDay" : "accounting_date_day_epoch",
          "epochSecond" : "accounting_date_sec_epoch",
          "fullField" : "accounting_date",
          "hour" : "accounting_date_Hour",
          "minute" : "accounting_date_Minute",
          "month" : "accounting_date_Month",
          "quarter" : "accounting_date_Quarter",
          "second" : "accounting_date_Second",
          "week" : "accounting_date_Week",
          "year" : "accounting_date_Year",
          "fiscal​Week" : "accounting_date_Week_Fiscal",
          "fiscal​Month" : "accounting_date_Month_Fiscal",
          "fiscal​Quarter" : "accounting_date_Quarter_Fiscal",
          "fiscal​Year" : "accounting_date_Year_Fiscal"
 
        }
    }
],

When i tried to replace the JSON file into my dataset, it keep give me error below:
Unrecognized field "fiscal​Week"

It works well if remove all define fiscal year fields. But i need to set fiscal year to my dataset for visualization better.
 
Anyone can advise?