Indicators on Fiscal Year - Weird Date Ranges on Analytics Hub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 10:48 AM - edited 11-21-2024 10:54 AM
Good morning, we're having an issue where we have an indicator source that is a frequency of FY Monthly.
When we go to the Analytics Hub for our Indicator that is based on an Indicator Source of FY Monthly, instead of the hover over saying FY24 M12 (June 1 - June 30) like we'd expect, it says FY24 M12 (Jan 6 - June 30). And then FY25 M01 says some random dates as well. Every hover over detail has the wrong dates listed.
I'm not sure where my set up is wrong?
If I am on the Indicator, and hover over the (i) for Indicator Source, it says Daily Frequency, but when I am on the Indicator Source itself, it says Monthly Fiscal, I'm not sure if that's anything?
Has anybody seen this before? Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 05:55 PM - edited 11-22-2024 05:57 PM
@UC Paul -
The "Daily" vs "Fiscal Month" is probably a red herring. If I'm interpreting the documentation correctly, "Valid for frequency" (pa_cubes.frequency) applies only to a Calendar of "Standard Calendar." "Calendar Frequency" (pa_cubes.calendar_freq) applies only to a Calendar of "Fiscal Calendar."
- If you select the standard calendar, you have the Valid for frequency field. This field gives you a choice of standard indicator frequencies. The default choice is Daily.
- If you select a business calendar, you have the Calendar Frequency field. This field is required. The business calendar you selected determines the range of frequencies that are available.
Since the default choice for Standard Calendar is Daily, and since you're using Fiscal, I wouldn't worry too much about seeing Daily there; the system is probably ignoring that and is looking at the calendar_freq field for the configuration.
When I think of possible causes for this issue, I wonder if the Indicator Source was using Standard Calendar at one point & then got changed to fiscal. I also wonder if perhaps there were changes to the fiscal calendar setup for your organization. Because either of those could cause significant data inconsistencies.
Additionally, I have seen "parent" records cause some weirdness; I see that your Fiscal Months have parent records. The weirdness I saw was not on the PA side but was in another SN application, but it was inexplicable data inconsistency that we ultimately traced back to parent record issues.
It may be interesting to look at records in one of the PA Scores tables to see if you're able to glean anything of use from looking at the records directly.
Definitely an interesting quandary 😁 if you get it figured out, please let us know what you found.
thx
David
CSA, Senior Enterprise Application Analyst
ServiceNow DevOps
Children’s Health System of Texas
Dallas, Texas, USA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 09:34 AM
This is great!
It ended up being dumb simple and what I imagine is a bug?
From the user record below, we updated the 'Date Format' field value from 'dd/MM/yyyy' to 'System (yyyy-MM-dd)' to 'dd-MM-yyyy':
It seems like it was getting confused about the 1/6 and 6/1 which is why I was seeing Jan 6th instead of June 1st.