analytics/pbi/report/Model/tables/Резервы.tmdl
2026-02-22 15:39:05 +03:00

69 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

table Резервы
column artic_id
dataType: string
isHidden
summarizeBy: none
sourceColumn: artic_id
changedProperty = IsHidden
annotation SummarizationSetBy = Automatic
column 'В резерве всего, шт'
dataType: double
formatString: #,0
summarizeBy: sum
sourceColumn: В резерве всего, шт
annotation SummarizationSetBy = Automatic
column 'В резерве всего, упак'
dataType: double
formatString: #,0
summarizeBy: sum
sourceColumn: В резерве всего, упак
annotation SummarizationSetBy = Automatic
column Склад
dataType: string
summarizeBy: none
sourceColumn: Склад
annotation SummarizationSetBy = Automatic
column 'В резерве всего, руб' = 'Резервы'[В резерве всего, шт] * RELATED('Номенклатура'[Цена учетная, руб])
formatString: #,0
summarizeBy: sum
annotation SummarizationSetBy = Automatic
column 'Дата обновления'
dataType: dateTime
isHidden
formatString: Long Date
summarizeBy: none
sourceColumn: Дата обновления
changedProperty = IsHidden
annotation SummarizationSetBy = Automatic
annotation UnderlyingDateTimeDataType = Date
partition Резервы = m
mode: import
source =
let
Источник = Sql.Database("prdsql", "mag_pbi"),
pbi_Резервы = Источник{[Schema="pbi",Item="Резервы"]}[Data],
#"Измененный тип" = Table.TransformColumnTypes(pbi_Резервы,{{"Склад", type text}})
in
#"Измененный тип"
annotation PBI_NavigationStepName = Навигация
annotation PBI_ResultType = Table