Kosten_2018.iqd 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. COGNOS QUERY
  2. STRUCTURE,1,1
  3. DATABASE,Planung_2012
  4. DATASOURCENAME,C:\GAPS\Portal\System\IQD\Planung\Kosten_2018.imr
  5. TITLE,Kosten_2018.imr
  6. BEGIN SQL
  7. select T1."Acct Nr" as c1,
  8. T1."Jahr" as c2,
  9. T1."Mandant" as c3,
  10. T1."KST" as c4,
  11. T1."Plan Kosten" as c5,
  12. T1."Plan Kosten" / 12 as c6,
  13. (T1."Plan Kosten" / 12) as c7,
  14. (T1."Plan Kosten" / 12) as c8,
  15. (T1."Plan Kosten" / 12) as c9,
  16. (T1."Plan Kosten" / 12) as c10,
  17. (T1."Plan Kosten" / 12) as c11,
  18. (T1."Plan Kosten" / 12) as c12,
  19. (T1."Plan Kosten" / 12) as c13,
  20. (T1."Plan Kosten" / 12) as c14,
  21. (T1."Plan Kosten" / 12) as c15,
  22. (T1."Plan Kosten" / 12) as c16,
  23. (T1."Plan Kosten" / 12) as c17,
  24. (T1."Plan Kosten" / 12) as c18
  25. from "Kosten_gesamt_2018" T1
  26. where (T1."Plan Kosten" <> 0)
  27. END SQL
  28. COLUMN,0,Acct Nr
  29. COLUMN,1,Jahr
  30. COLUMN,2,Mandant
  31. COLUMN,3,Kst
  32. COLUMN,4,Plan Kosten
  33. COLUMN,5,PK1
  34. COLUMN,6,PK2
  35. COLUMN,7,PK3
  36. COLUMN,8,PK4
  37. COLUMN,9,PK5
  38. COLUMN,10,PK6
  39. COLUMN,11,PK6
  40. COLUMN,12,PK7
  41. COLUMN,13,PK8
  42. COLUMN,14,PK9
  43. COLUMN,15,PK10
  44. COLUMN,16,PK11
  45. COLUMN,17,PK12