taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F60Header").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/F60Header").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/F60Header").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/F60Header").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(20) list($i,none,none) ); $data = if count(list({covered @ferc:TemporaryCashInvestmentsAxis=*})) > 0 list({covered @ferc:TemporaryCashInvestmentsAxis=* {list( if exists({ @ferc:OrderNumber @unit=* @period = $currentDuration}) first(list({ @ferc:OrderNumber @unit=* @period = $currentDuration})) else 0, if exists({ @ferc:InvestmentsDescription @unit @period = $currentDuration}) first(list({ @ferc:InvestmentsDescription @unit @period = $currentDuration})) else none, if exists({ @ferc:TemporaryCashInvestments @unit @period = $currentInstant}) first(list({ @ferc:TemporaryCashInvestments @unit @period = $currentInstant} )) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleTemporaryCashInvestmentsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60ScheduleTitle").text Schedule IV - Investments - Other Investments
taxonomy().concept(ferc:ScheduleInvestmentsAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F60Instructions").text
  1. For other investments (Account 124) and other special funds (Account 128), state each investment separately, with description including the name of issuing company, number of shares held or principal investment amount.
  2. For temporary cash investments (Account 136), list each investment separately.
  3. Investments less than $50,000 may be grouped, showing the number of items in each group.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleTemporaryCashInvestmentsAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "004 - Schedule - Investments - Temporary Cash Investments") $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] Name of Investment
$row (a)
1 1 $row[2] other investment 1 $row[3] $555