taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Name of Respondent:
[@ferc:RespondentLegalName @period=$currentDuration] Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text This report is:
(1) if missing({covered @concept=ferc:SubmissionType}) ☐ An Original']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" ☑ An Original']]> else ☐ An Original']]> An Original
(2) if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) ☐ A Resubmission']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" ☑ A Resubmission']]> else ☐ A Resubmission']]> A Resubmission
taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Date of Report:
[@ferc:ReportDate @period=$currentDuration] 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F1Header").text Year/Period of Report:
End of: [@ferc:ReportYear @period=$currentDuration] 2018 / [@ferc:ReportPeriod @period=$currentDuration] Q4
// adding a comment $data2 = list(for $i in range(46) list($i,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:OtherDeferredCreditsAxis=*})) > 0 list({covered @ferc:OtherDeferredCreditsAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if exists({@ferc:DescriptionOfOtherDeferredCredits @unit @period=$currentDuration}) first(list({@ferc:DescriptionOfOtherDeferredCredits @unit @period=$currentDuration})) else none, if exists({@ferc:OtherDeferredCredits @unit @period=$priorInstant}) first(list({@ferc:OtherDeferredCredits @unit @period=$priorInstant})) else none, if exists({@ferc:DecreaseInOtherDeferredCreditsContraAccount @unit @period=$currentDuration}) first(list({@ferc:DecreaseInOtherDeferredCreditsContraAccount @unit @period=$currentDuration})) else none, if exists({@ferc:DecreaseInOtherDeferredCredits @unit @period=$currentDuration}) first(list({@ferc:DecreaseInOtherDeferredCredits @unit @period=$currentDuration})) else none, if exists({@ferc:IncreaseInOtherDeferredCredits @unit @period=$currentDuration}) first(list({@ferc:IncreaseInOtherDeferredCredits @unit @period=$currentDuration})) else none, if exists({@ferc:OtherDeferredCredits @unit @period=$currentInstant}) first(list({@ferc:OtherDeferredCredits @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleOtherDeferredCreditsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text OTHER DEFERRED CREDITS (Account 253)
taxonomy().concept(ferc:ScheduleOtherDeferredCreditsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1Instructions").text
  1. Report below the particulars (details) called for concerning other deferred credits.
  2. For any deferred credit being amortized, show the period of amortization.
  3. Minor items (5% of the Balance End of Year for Account 253 or amounts less than $100,000, whichever is greater) may be grouped by classes.
DEBITS
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleOtherDeferredCreditsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "269 - Schedule - Other Deferred Credits (Account 253)") $headings = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value)) $heading_dict = dict(for $row in $headings list("("+$row[1]+")",$row[2]) ); for $row in $heading_dict.keys.sort
$heading_dict[$row] Description and Other Deferred Credits
$row (a)
1 $row[2] Deferred revenue - PALS $row[3] $679,676 $row[5] $0 $row[6] $1,551,745 $row[7] $2,231,421
47 taxonomy().concept(ferc:OtherDeferredCredits).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
TOTAL
max(list([covered @concept=ferc:OtherDeferredCredits @period = $priorInstant])) $935,783 max(list([covered @concept=ferc:DecreaseInOtherDeferredCredits @period = $currentDuration])) $962,747 max(list([covered @concept=ferc:IncreaseInOtherDeferredCredits @period = $currentDuration])) $4,396,931 max(list([covered @concept=ferc:OtherDeferredCredits @period = $currentInstant])) $4,369,967