-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aging_Chart.json
9 lines (9 loc) · 6.98 KB
/
Aging_Chart.json
1
2
3
4
5
6
7
8
9
{
"cube_name": "Issues",
"cube_reports": [ {
"name": "Aging Report_Demo",
"result_view": "bar_chart",
"definition": {"columns":{"dimensions":[{"name":"Measures","selected_set":["[Measures].[Less than]","[Measures].[50% Probability]","[Measures].[In Between 50% and]","[Measures].[85% Probabilty]","[Measures].[In Between 85% and]","[Measures].[95% Probabilty]","[Measures].[Issue due date]","[Measures].[Today]"],"members":[{"depth":0,"full_name":"[Measures].[Less than]","format_string":"mmm dd yyyy","report_specific":true,"name":"Less than","calculated":true},{"depth":0,"full_name":"[Measures].[50% Probability]","format_string":"mmm dd yyyy","report_specific":true,"name":"50% Probability","calculated":true,"id":"[Measures].[50% Probability]"},{"depth":0,"full_name":"[Measures].[In Between 50% and]","format_string":"mmm dd yyyy","report_specific":true,"name":"In Between 50% and","calculated":true,"id":"[Measures].[In Between 50% and]"},{"depth":0,"full_name":"[Measures].[85% Probabilty]","format_string":"mmm dd yyyy","report_specific":true,"name":"85% Probabilty","calculated":true},{"depth":0,"full_name":"[Measures].[In Between 85% and]","format_string":"mmm dd yyyy","report_specific":true,"name":"In Between 85% and","calculated":true,"id":"[Measures].[In Between 85% and]"},{"depth":0,"full_name":"[Measures].[95% Probabilty]","format_string":"mmm dd yyyy","report_specific":true,"name":"95% Probabilty","calculated":true,"id":"[Measures].[95% Probabilty]"}]}]},"rows":{"dimensions":[{"name":"Issue","selected_set":["[Issue].[All Issues]"],"members":[{"depth":0,"name":"All Issues","full_name":"[Issue].[All Issues]","drillable":true,"type":"all","expanded":true,"drilled_into":true,"drill_level":"[Issue].[Issue]","removed":true}],"bookmarked_members":[]}],"order_by":{"expression":["[Measures].[Date In Progress]"],"order":"ASC"},"filter_by":{"conditions":[{"expression":["[Measures].[Issues history]"],"operator":"\u003e","value":"0"},{"expression":["[Measures].[Issue status]"],"operator":"matches","value":"In Progress"}]},"nonempty_crossjoin":true},"pages":{"dimensions":[{"name":"Issue Type","selected_set":["[Issue Type].[All Issue Types]"],"members":[{"depth":0,"name":"All Issue Types","full_name":"[Issue Type].[All Issue Types]","drillable":true,"type":"all","expanded":true,"drilled_into":false},{"depth":1,"name":"Story","full_name":"[Issue Type].[Story]","parent_full_name":"[Issue Type].[All Issue Types]"},{"depth":1,"name":"Task","full_name":"[Issue Type].[Task]","parent_full_name":"[Issue Type].[All Issue Types]"}],"bookmarked_members":[],"current_page_members":["[Issue Type].[Story]","[Issue Type].[Task]"]}]},"options":{"nonempty":true},"view":{"current":"bar_chart","maximized":false,"bar_chart":{"stacked":true,"vertical":false,"swap_axes":false,"data_labels":false,"series_options":{"Date In Progress":{"type":"columnrange","color":"#5DC48B","dataLabelType":false,"stacked":false},"75% Probabilty Date":{"type":"columnrange"},"50% Probabilty Date Left":{"type":"columnrange","color":"#FF983D"},"75% Probabilty Date Left":{"type":"columnrange","color":"#E74B71"},"Today":{"type":"line","color":"#091E42","symbol":false},"Issue due date":{"symbol":"triangle-down","color":"#376BB7"},"50% Probabilty Date ":{"type":"columnrange","color":"#FF983D"},"75% Probabilty Date ":{"type":"columnrange","color":"#E74B71"},"Less than":{"type":"columnrange","color":"#34AD70"},"In Between":{"type":"columnrange"},"In Between 50% and":{"type":"columnrange","color":"#FFD04D"},"In Between 75% and":{"type":"columnrange","color":"#D4153B"},"In Between 85% and":{"type":"columnrange","color":"#D4153B"}},"show_full_caption":["Issue"],"show_key":["Issue"],"show_caption_without_key":["Issue"]},"table":{}},"calculated_members":[{"dimension":"Measures","name":"50% Probability","formula":"DateAddDays([Measures].[Date In Progress],Cache(Percentile((Filter([Issue].[Issue].Members,\n DateBetween([Measures].[Issue resolution date],\n [Time].[Day].CurrentDateMember.lag(30).Name, Now())and [Measures].[Cycle Time]\u003e1)),\n [Measures].[Cycle Time],50)))\n","format_string":""},{"dimension":"Measures","name":"85% Probabilty","formula":"DateAddDays([Measures].[Date In Progress],\n Cache(Percentile((Filter([Issue].[Issue].Members,\n DateBetween([Measures].[Issue resolution date],\n [Time].[Day].CurrentDateMember.lag(30).Name, Now())and [Measures].[Cycle Time]\u003e1)),\n [Measures].[Cycle Time],85)))","format_string":""},{"dimension":"Measures","name":"95% Probabilty","formula":"DateAddDays([Measures].[Date In Progress],Cache(Percentile((Filter([Issue].[Issue].Members,\n DateBetween([Measures].[Issue resolution date],\n [Time].[Day].CurrentDateMember.lag(30).Name, Now())and [Measures].[Cycle Time]\u003e1)),\n [Measures].[Cycle Time],95)))","format_string":""},{"dimension":"Measures","name":"In Between 50% and","formula":"[Measures].[50% Probability]\n","format_string":""},{"dimension":"Measures","name":"75 % Probability","formula":"DateAddDays([Measures].[Date In Progress],Cache(Percentile((Filter([Issue].[Issue].Members,\n DateBetween([Measures].[Issue resolution date],\n [Time].[Day].CurrentDateMember.lag(30).Name, Now())and [Measures].[Cycle Time]\u003e1)),\n [Measures].[Cycle Time],75)))","format_string":""},{"dimension":"Measures","name":"Days in Progress","formula":"([Measures].[Days in transition status],[Transition Status].[In Progress])","format_string":""},{"dimension":"Measures","name":"Less than","formula":"[Measures].[Date In Progress]","format_string":""},{"dimension":"Measures","name":"In Between 85% and","formula":"[Measures].[85% Probabilty]","format_string":""}]}
} ],
"calculated_members": [{"dimension":"Measures","name":"Issues history","format_string":"#,##0","formula":"Cache(\n NonZero(Sum(PreviousPeriods([Time].CurrentHierarchyMember),\n Cache([Measures].[Transitions to]\n - [Measures].[Transitions from])\n ))\n + [Measures].[Transitions to]\n - [Measures].[Transitions from]\n)"},{"dimension":"Measures","name":"Transition to status last date","format_string":"yyyy-mm-dd hh:nn:ss","formula":"TimestampToDate(\n [Measures].[Transition to status last timestamp]\n)"},{"dimension":"Measures","name":"Issue resolution date","format_string":"mmm dd yyyy","formula":"[Issue].CurrentHierarchyMember.get('Resolved at')"},{"dimension":"Measures","name":"Issue due date","format_string":"mmm dd yyyy","formula":"[Issue].CurrentHierarchyMember.get('Due date')"},{"dimension":"Measures","name":"Issue status","format_string":"","formula":"[Status].[Status].getMemberNameByKey(\n [Issue].CurrentHierarchyMember.get('Status ID')\n)"},{"name":"Cycle Time","dimension":"Measures","formula":"([Measures].[Days in transition status],\n[Transition Status.Category].[In Progress], \n[Time].CurrentHierarchy.DefaultMember)","format_string":""},{"name":"Today","dimension":"Measures","formula":"Now()","format_string":"mmm dd yyyy"},{"name":"Date In Progress","dimension":"Measures","formula":"([Measures].[Transition to status last date],\n [Transition Status].[In Progress])","format_string":"mmm dd yyyy"}]
}