111 lines
2.6 KiB
Plaintext
111 lines
2.6 KiB
Plaintext
table 'Заявки на оплату'
|
||
|
||
column date
|
||
dataType: dateTime
|
||
isHidden
|
||
formatString: Long Date
|
||
summarizeBy: none
|
||
sourceColumn: date
|
||
|
||
variation Изменение
|
||
isDefault
|
||
relationship: 8208f512-c8a9-47d1-b47c-2bce30b6b8f8
|
||
defaultHierarchy: LocalDateTable_729bf6db-04e4-4a26-9dce-b3837667cb92.'Иерархия дат'
|
||
|
||
changedProperty = IsHidden
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
annotation UnderlyingDateTimeDataType = Date
|
||
|
||
column 'Номер заявки'
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Номер заявки
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column Статус
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Статус
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column Сумма
|
||
dataType: double
|
||
summarizeBy: sum
|
||
sourceColumn: Сумма
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
annotation PBI_FormatHint = {"isGeneralNumber":true}
|
||
|
||
column 'Валюта документа'
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Валюта документа
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column partner_id
|
||
dataType: string
|
||
isHidden
|
||
summarizeBy: none
|
||
sourceColumn: partner_id
|
||
|
||
changedProperty = IsHidden
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column Партнер
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Партнер
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column Получатель
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Получатель
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column Комментарий
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Комментарий
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
column 'Дата оплаты план'
|
||
dataType: dateTime
|
||
formatString: Long Date
|
||
summarizeBy: none
|
||
sourceColumn: Дата оплаты план
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
annotation UnderlyingDateTimeDataType = Date
|
||
|
||
column 'Статья ДДС'
|
||
dataType: string
|
||
summarizeBy: none
|
||
sourceColumn: Статья ДДС
|
||
|
||
annotation SummarizationSetBy = Automatic
|
||
|
||
partition 'Заявки на оплату' = m
|
||
mode: import
|
||
source =
|
||
let
|
||
Источник = Sql.Database("prdsql", "mag_pbi"),
|
||
pbi_Заявки_на_оплату = Источник{[Schema="pbi",Item="Заявки_на_оплату"]}[Data],
|
||
#"Измененный тип" = Table.TransformColumnTypes(pbi_Заявки_на_оплату,{{"date", type date}, {"Дата оплаты план", type date}})
|
||
in
|
||
#"Измененный тип"
|
||
|
||
annotation PBI_ResultType = Table
|
||
|