JSOTO adicione la CLASSPATH java al grupo COMUNES
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
PROYECTO POWER BI — RADIOGRAFÍA MARMOTECH (Dashboard de Presidencia)
|
||||
====================================================================
|
||||
|
||||
QUÉ ES ESTO
|
||||
-----------
|
||||
Un Proyecto de Power BI (.pbip) en formato de texto:
|
||||
- Radiografia_Marmotech.SemanticModel -> modelo de datos + TODAS las medidas DAX
|
||||
- Radiografia_Marmotech.Report -> 3 páginas (Radiografía / Gastos / Estructura)
|
||||
|
||||
Se conecta en vivo a las vistas del esquema "presidencia" en 192.168.40.8 / MarmotechBI.
|
||||
|
||||
CÓMO ABRIRLO Y CONVERTIRLO A .PBIX
|
||||
----------------------------------
|
||||
1. Abrir Power BI Desktop (v2.157 o superior).
|
||||
2. Archivo -> Abrir -> seleccionar Radiografia_Marmotech.pbip
|
||||
(o doble clic al .pbip).
|
||||
3. Si pide credenciales de la base: usar autenticación de Windows (tu usuario jsoto).
|
||||
4. Actualizar / cargar datos.
|
||||
5. Archivo -> Guardar como -> elegir tipo ".pbix" -> listo, ya tienes el .pbix.
|
||||
|
||||
REQUISITO (una sola vez, si no abre el reporte)
|
||||
-----------------------------------------------
|
||||
Archivo -> Opciones -> Características de vista previa ->
|
||||
activar "Almacenar informes con el formato de informe mejorado (PBIR)".
|
||||
Reiniciar Power BI Desktop y volver a abrir el .pbip.
|
||||
|
||||
NOTA
|
||||
----
|
||||
El MODELO (tablas, relaciones y medidas DAX) está completo y es la parte reutilizable.
|
||||
Si algún visual del reporte necesitara reacomodo, guíate por el prototipo
|
||||
"Dashboard_Presidencia_Mockup.html" y la "Guia_Dashboard_Presidencia_PowerBI.md":
|
||||
tienen la disposición exacta y las medidas ya existen en el modelo.
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json",
|
||||
"metadata": { "type": "Report", "displayName": "Radiografia_Marmotech" },
|
||||
"config": { "version": "2.0", "logicalId": "554add93-b301-4779-a780-de4189e02962" }
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"version": "4.0",
|
||||
"datasetReference": { "byPath": { "path": "../Radiografia_Marmotech.SemanticModel" } }
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/1.0.0/schema.json",
|
||||
"name": "8b8f836c-adf6-4122-94af-ca83a95f1186",
|
||||
"displayName": "Estructura Financiera",
|
||||
"displayOption": "FitToPage",
|
||||
"height": 720,
|
||||
"width": 1280
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "44ff5e53-b511-41e3-bdd8-48225cf9736d",
|
||||
"position": { "x": 648, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Capital de Trabajo" } }, "queryRef": "vwPLMensual.Capital de Trabajo", "nativeQueryRef": "Capital de Trabajo" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Capital de Trabajo'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "a03966b2-7a2b-4724-9b6f-9d2a82dfbf1a",
|
||||
"position": { "x": 16, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Activos" } }, "queryRef": "vwPLMensual.Activos", "nativeQueryRef": "Activos" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Activos Totales'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "aebdc78d-a3c5-45bd-a5a1-33956b52c2af",
|
||||
"position": { "x": 964, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Endeudamiento %" } }, "queryRef": "vwPLMensual.Endeudamiento %", "nativeQueryRef": "Endeudamiento %" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Endeudamiento'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "b45f71ca-ef58-4807-9ec8-b326c6cef118",
|
||||
"position": { "x": 16, "y": 170, "z": 0, "width": 620, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "clusteredColumnChart",
|
||||
"query": { "queryState": { "Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "vwBalanceMensual" } }, "Property": "grupo_desc" } }, "queryRef": "vwBalanceMensual.grupo_desc", "nativeQueryRef": "grupo_desc" } ] },
|
||||
"Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Saldo (fin periodo)" } }, "queryRef": "vwPLMensual.Saldo (fin periodo)", "nativeQueryRef": "Saldo (fin periodo)" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Activos / Pasivos / Patrimonio'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "b536c95a-a634-4891-9041-14d33dba3e31",
|
||||
"position": { "x": 652, "y": 170, "z": 0, "width": 612, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "tableEx",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "vwBalanceMensual" } }, "Property": "subgrupo_desc" } }, "queryRef": "vwBalanceMensual.subgrupo_desc", "nativeQueryRef": "subgrupo_desc" },
|
||||
{ "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Saldo (fin periodo)" } }, "queryRef": "vwPLMensual.Saldo (fin periodo)", "nativeQueryRef": "Saldo (fin periodo)" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Composicion'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "dfc8665b-ed52-4a78-ad7a-ceec1bd415d6",
|
||||
"position": { "x": 332, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Razon Corriente" } }, "queryRef": "vwPLMensual.Razon Corriente", "nativeQueryRef": "Razon Corriente" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Razon Corriente'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/1.0.0/schema.json",
|
||||
"name": "b1d7c3f7-19f4-4e53-9f46-39c24299735d",
|
||||
"displayName": "Radiografia",
|
||||
"displayOption": "FitToPage",
|
||||
"height": 720,
|
||||
"width": 1280
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "0001fb8c-bfd0-48b4-8c87-ca2e91ded77e",
|
||||
"position": { "x": 16, "y": 16, "z": 0, "width": 280, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Ventas Netas" } }, "queryRef": "vwPLMensual.Ventas Netas", "nativeQueryRef": "Ventas Netas" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Ventas Netas'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "1c8b8064-507f-4d74-aafe-996d0e78abcc",
|
||||
"position": { "x": 652, "y": 484, "z": 0, "width": 300, "height": 120, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "slicer",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "DimCalendario" } }, "Property": "Anio" } }, "queryRef": "DimCalendario.Anio", "nativeQueryRef": "Anio" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Ano'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "41b6bf4e-59e7-43d8-bed5-00903f07cf14",
|
||||
"position": { "x": 16, "y": 170, "z": 0, "width": 620, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "waterfallChart",
|
||||
"query": { "queryState": { "Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "linea" } }, "queryRef": "vwPLMensual.linea", "nativeQueryRef": "linea" } ] },
|
||||
"Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Neta" } }, "queryRef": "vwPLMensual.Utilidad Neta", "nativeQueryRef": "Utilidad Neta" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Estado de Resultados (cascada)'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "7bc4f47e-ea03-4a86-85bc-7b0589403ff3",
|
||||
"position": { "x": 984, "y": 16, "z": 0, "width": 280, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Neta" } }, "queryRef": "vwPLMensual.Utilidad Neta", "nativeQueryRef": "Utilidad Neta" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Utilidad Neta'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "86346a78-aca0-4130-8fcc-df275187d223",
|
||||
"position": { "x": 688, "y": 16, "z": 0, "width": 280, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Operativa" } }, "queryRef": "vwPLMensual.Utilidad Operativa", "nativeQueryRef": "Utilidad Operativa" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Utilidad Operativa'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "bf867728-d557-4369-a08f-96be202ea340",
|
||||
"position": { "x": 652, "y": 170, "z": 0, "width": 612, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "lineClusteredColumnComboChart",
|
||||
"query": { "queryState": { "Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Ventas Netas" } }, "queryRef": "vwPLMensual.Ventas Netas", "nativeQueryRef": "Ventas Netas" } ] },
|
||||
"Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "DimCalendario" } }, "Property": "Mes" } }, "queryRef": "DimCalendario.Mes", "nativeQueryRef": "Mes" } ] },
|
||||
"Y2": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Neta" } }, "queryRef": "vwPLMensual.Utilidad Neta", "nativeQueryRef": "Utilidad Neta" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Comportamiento del periodo (Ventas vs Utilidad)'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "c16df67e-416b-4acb-8169-fbd21a916682",
|
||||
"position": { "x": 16, "y": 484, "z": 0, "width": 620, "height": 220, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "clusteredColumnChart",
|
||||
"query": { "queryState": { "Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "DimCalendario" } }, "Property": "Anio" } }, "queryRef": "DimCalendario.Anio", "nativeQueryRef": "Anio" } ] },
|
||||
"Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Ventas Netas" } }, "queryRef": "vwPLMensual.Ventas Netas", "nativeQueryRef": "Ventas Netas" },
|
||||
{ "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Neta" } }, "queryRef": "vwPLMensual.Utilidad Neta", "nativeQueryRef": "Utilidad Neta" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Trayectoria anual'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "ea44fc7d-26fd-4269-a605-7a460f6078bd",
|
||||
"position": { "x": 312, "y": 16, "z": 0, "width": 280, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Utilidad Bruta" } }, "queryRef": "vwPLMensual.Utilidad Bruta", "nativeQueryRef": "Utilidad Bruta" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Utilidad Bruta'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/1.0.0/schema.json",
|
||||
"name": "e77fc1b2-6848-4091-910e-ab9079a10ae3",
|
||||
"displayName": "Analisis de Gastos",
|
||||
"displayOption": "FitToPage",
|
||||
"height": 720,
|
||||
"width": 1280
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "2970078c-5cf9-40ff-ad03-436e7f9d90c1",
|
||||
"position": { "x": 16, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto Total" } }, "queryRef": "vwPLMensual.Gasto Total", "nativeQueryRef": "Gasto Total" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Gastos Operativos'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "55c25809-9340-4b4f-ab44-ea947df2aa20",
|
||||
"position": { "x": 16, "y": 484, "z": 0, "width": 1248, "height": 220, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "columnChart",
|
||||
"query": { "queryState": { "Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "DimCalendario" } }, "Property": "Mes" } }, "queryRef": "DimCalendario.Mes", "nativeQueryRef": "Mes" } ] },
|
||||
"Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto Total" } }, "queryRef": "vwPLMensual.Gasto Total", "nativeQueryRef": "Gasto Total" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Gasto mensual'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "c5d3dccf-c735-4552-97e3-3409f290ae2c",
|
||||
"position": { "x": 16, "y": 170, "z": 0, "width": 620, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "barChart",
|
||||
"query": { "queryState": { "Category": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "vwGastosDepto" } }, "Property": "gerencia" } }, "queryRef": "vwGastosDepto.gerencia", "nativeQueryRef": "gerencia" } ] },
|
||||
"Y": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto Total" } }, "queryRef": "vwPLMensual.Gasto Total", "nativeQueryRef": "Gasto Total" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Gasto por gerencia'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "d56cf84c-d5d9-4d14-a4a5-c20b98f0aab6",
|
||||
"position": { "x": 652, "y": 170, "z": 0, "width": 612, "height": 300, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "tableEx",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Column": { "Expression": { "SourceRef": { "Entity": "vwGastosDepto" } }, "Property": "subgrupo_desc" } }, "queryRef": "vwGastosDepto.subgrupo_desc", "nativeQueryRef": "subgrupo_desc" },
|
||||
{ "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto Total" } }, "queryRef": "vwPLMensual.Gasto Total", "nativeQueryRef": "Gasto Total" },
|
||||
{ "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto % de Ventas" } }, "queryRef": "vwPLMensual.Gasto % de Ventas", "nativeQueryRef": "Gasto % de Ventas" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Naturaleza del gasto'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
|
||||
"name": "f2193414-6ebe-4c68-bb63-1badcb5ffd09",
|
||||
"position": { "x": 332, "y": 16, "z": 0, "width": 300, "height": 140, "tabOrder": 0 },
|
||||
"visual": {
|
||||
"visualType": "card",
|
||||
"query": { "queryState": { "Values": { "projections": [ { "field": { "Measure": { "Expression": { "SourceRef": { "Entity": "vwPLMensual" } }, "Property": "Gasto % de Ventas" } }, "queryRef": "vwPLMensual.Gasto % de Ventas", "nativeQueryRef": "Gasto % de Ventas" } ] } } },
|
||||
"drillFilterOtherVisuals": true,
|
||||
"objects": {
|
||||
"title": [ { "properties": { "text": { "expr": { "Literal": { "Value": "'Gasto / Ventas'" } } }, "show": { "expr": { "Literal": { "Value": "true" } } } } } ]
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json",
|
||||
"pageOrder": [ "b1d7c3f7-19f4-4e53-9f46-39c24299735d", "e77fc1b2-6848-4091-910e-ab9079a10ae3", "8b8f836c-adf6-4122-94af-ca83a95f1186" ],
|
||||
"activePageName": "b1d7c3f7-19f4-4e53-9f46-39c24299735d"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/1.0.0/schema.json",
|
||||
"themeCollection": { "baseTheme": { "name": "CY24SU10" } },
|
||||
"layoutOptimization": "None"
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"version": "2.0.0"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json",
|
||||
"metadata": { "type": "SemanticModel", "displayName": "Radiografia_Marmotech" },
|
||||
"config": { "version": "2.0", "logicalId": "9189c214-f719-4b14-9985-284d1156b518" }
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"version": "4.0",
|
||||
"settings": {}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
database
|
||||
compatibilityLevel: 1550
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
model Model
|
||||
culture: es-ES
|
||||
defaultPowerBIDataSourceVersion: powerBI_V3
|
||||
sourceQueryCulture: es-ES
|
||||
|
||||
annotation PBI_QueryOrder = ["vwPLMensual","vwGastosDepto","vwBalanceMensual","DimCalendario"]
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
relationship a1bca91e-c68e-40d9-903e-6c0b3084d97e
|
||||
fromColumn: vwPLMensual.fecha_mes
|
||||
toColumn: DimCalendario.Date
|
||||
|
||||
relationship b8a2999c-fc54-47de-8f0b-85af0263c75b
|
||||
fromColumn: vwGastosDepto.fecha_mes
|
||||
toColumn: DimCalendario.Date
|
||||
|
||||
relationship ea96c86f-8345-4913-b1e6-6823b9a100f4
|
||||
fromColumn: vwBalanceMensual.fecha_mes
|
||||
toColumn: DimCalendario.Date
|
||||
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
table DimCalendario
|
||||
column Date
|
||||
dataType: dateTime
|
||||
sourceColumn: [Date]
|
||||
formatString: General Date
|
||||
summarizeBy: none
|
||||
|
||||
column Anio
|
||||
dataType: int64
|
||||
sourceColumn: [Anio]
|
||||
summarizeBy: none
|
||||
|
||||
column MesNo
|
||||
dataType: int64
|
||||
sourceColumn: [MesNo]
|
||||
summarizeBy: none
|
||||
|
||||
column Mes
|
||||
dataType: string
|
||||
sourceColumn: [Mes]
|
||||
summarizeBy: none
|
||||
|
||||
column AnioMes
|
||||
dataType: string
|
||||
sourceColumn: [AnioMes]
|
||||
summarizeBy: none
|
||||
|
||||
column PrimerDiaMes
|
||||
dataType: dateTime
|
||||
sourceColumn: [PrimerDiaMes]
|
||||
formatString: General Date
|
||||
summarizeBy: none
|
||||
|
||||
column Trimestre
|
||||
dataType: string
|
||||
sourceColumn: [Trimestre]
|
||||
summarizeBy: none
|
||||
|
||||
partition DimCalendario = calculated
|
||||
mode: import
|
||||
source = ADDCOLUMNS ( CALENDAR ( DATE ( 2015, 1, 1 ), DATE ( 2028, 12, 31 ) ), "Anio", YEAR ( [Date] ), "MesNo", MONTH ( [Date] ), "Mes", FORMAT ( [Date], "MMM" ), "AnioMes", FORMAT ( [Date], "yyyy-MM" ), "PrimerDiaMes", DATE ( YEAR ( [Date] ), MONTH ( [Date] ), 1 ), "Trimestre", "T" & FORMAT ( [Date], "Q" ) )
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
table vwBalanceMensual
|
||||
column 'ano'
|
||||
dataType: int64
|
||||
sourceColumn: ano
|
||||
summarizeBy: none
|
||||
|
||||
column 'numero_mes'
|
||||
dataType: int64
|
||||
sourceColumn: numero_mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'mes'
|
||||
dataType: string
|
||||
sourceColumn: mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'AnoMes'
|
||||
dataType: string
|
||||
sourceColumn: AnoMes
|
||||
summarizeBy: none
|
||||
|
||||
column 'fecha_mes'
|
||||
dataType: dateTime
|
||||
sourceColumn: fecha_mes
|
||||
formatString: General Date
|
||||
summarizeBy: none
|
||||
|
||||
column 'grupo'
|
||||
dataType: string
|
||||
sourceColumn: grupo
|
||||
summarizeBy: none
|
||||
|
||||
column 'grupo_desc'
|
||||
dataType: string
|
||||
sourceColumn: grupo_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_cod'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_cod
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_desc'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta'
|
||||
dataType: string
|
||||
sourceColumn: cuenta
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta_desc'
|
||||
dataType: string
|
||||
sourceColumn: cuenta_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'movimiento_mes'
|
||||
dataType: decimal
|
||||
sourceColumn: movimiento_mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'saldo_natural'
|
||||
dataType: decimal
|
||||
sourceColumn: saldo_natural
|
||||
summarizeBy: none
|
||||
|
||||
column 'saldo_presentacion'
|
||||
dataType: decimal
|
||||
sourceColumn: saldo_presentacion
|
||||
summarizeBy: none
|
||||
|
||||
partition vwBalanceMensual = m
|
||||
mode: import
|
||||
source =
|
||||
let
|
||||
Origen = Sql.Database("192.168.40.8", "MarmotechBI"),
|
||||
Datos = Origen{[Schema="presidencia", Item="vwBalanceMensual"]}[Data]
|
||||
in
|
||||
Datos
|
||||
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
table vwGastosDepto
|
||||
column 'ano'
|
||||
dataType: int64
|
||||
sourceColumn: ano
|
||||
summarizeBy: none
|
||||
|
||||
column 'numero_mes'
|
||||
dataType: int64
|
||||
sourceColumn: numero_mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'mes'
|
||||
dataType: string
|
||||
sourceColumn: mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'AnoMes'
|
||||
dataType: string
|
||||
sourceColumn: AnoMes
|
||||
summarizeBy: none
|
||||
|
||||
column 'fecha_mes'
|
||||
dataType: dateTime
|
||||
sourceColumn: fecha_mes
|
||||
formatString: General Date
|
||||
summarizeBy: none
|
||||
|
||||
column 'gerencia_cod'
|
||||
dataType: string
|
||||
sourceColumn: gerencia_cod
|
||||
summarizeBy: none
|
||||
|
||||
column 'gerencia'
|
||||
dataType: string
|
||||
sourceColumn: gerencia
|
||||
summarizeBy: none
|
||||
|
||||
column 'departamento'
|
||||
dataType: int64
|
||||
sourceColumn: departamento
|
||||
summarizeBy: none
|
||||
|
||||
column 'depto_nombre'
|
||||
dataType: string
|
||||
sourceColumn: depto_nombre
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_cod'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_cod
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_desc'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta'
|
||||
dataType: string
|
||||
sourceColumn: cuenta
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta_desc'
|
||||
dataType: string
|
||||
sourceColumn: cuenta_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'debito'
|
||||
dataType: decimal
|
||||
sourceColumn: debito
|
||||
summarizeBy: none
|
||||
|
||||
column 'credito'
|
||||
dataType: decimal
|
||||
sourceColumn: credito
|
||||
summarizeBy: none
|
||||
|
||||
column 'gasto'
|
||||
dataType: decimal
|
||||
sourceColumn: gasto
|
||||
summarizeBy: none
|
||||
|
||||
partition vwGastosDepto = m
|
||||
mode: import
|
||||
source =
|
||||
let
|
||||
Origen = Sql.Database("192.168.40.8", "MarmotechBI"),
|
||||
Datos = Origen{[Schema="presidencia", Item="vwGastosDepto"]}[Data]
|
||||
in
|
||||
Datos
|
||||
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
table vwPLMensual
|
||||
column 'ano'
|
||||
dataType: int64
|
||||
sourceColumn: ano
|
||||
summarizeBy: none
|
||||
|
||||
column 'numero_mes'
|
||||
dataType: int64
|
||||
sourceColumn: numero_mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'mes'
|
||||
dataType: string
|
||||
sourceColumn: mes
|
||||
summarizeBy: none
|
||||
|
||||
column 'AnoMes'
|
||||
dataType: string
|
||||
sourceColumn: AnoMes
|
||||
summarizeBy: none
|
||||
|
||||
column 'fecha_mes'
|
||||
dataType: dateTime
|
||||
sourceColumn: fecha_mes
|
||||
formatString: General Date
|
||||
summarizeBy: none
|
||||
|
||||
column 'grupo'
|
||||
dataType: string
|
||||
sourceColumn: grupo
|
||||
summarizeBy: none
|
||||
|
||||
column 'orden_linea'
|
||||
dataType: int64
|
||||
sourceColumn: orden_linea
|
||||
summarizeBy: none
|
||||
|
||||
column 'linea'
|
||||
dataType: string
|
||||
sourceColumn: linea
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_cod'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_cod
|
||||
summarizeBy: none
|
||||
|
||||
column 'subgrupo_desc'
|
||||
dataType: string
|
||||
sourceColumn: subgrupo_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta'
|
||||
dataType: string
|
||||
sourceColumn: cuenta
|
||||
summarizeBy: none
|
||||
|
||||
column 'cuenta_desc'
|
||||
dataType: string
|
||||
sourceColumn: cuenta_desc
|
||||
summarizeBy: none
|
||||
|
||||
column 'nivel'
|
||||
dataType: int64
|
||||
sourceColumn: nivel
|
||||
summarizeBy: none
|
||||
|
||||
column 'debito'
|
||||
dataType: decimal
|
||||
sourceColumn: debito
|
||||
summarizeBy: none
|
||||
|
||||
column 'credito'
|
||||
dataType: decimal
|
||||
sourceColumn: credito
|
||||
summarizeBy: none
|
||||
|
||||
column 'resultado'
|
||||
dataType: decimal
|
||||
sourceColumn: resultado
|
||||
summarizeBy: none
|
||||
|
||||
column 'costo_gasto'
|
||||
dataType: decimal
|
||||
sourceColumn: costo_gasto
|
||||
summarizeBy: none
|
||||
|
||||
|
||||
measure 'Ventas Netas' = CALCULATE ( SUM ( vwPLMensual[resultado] ), vwPLMensual[grupo] = "4" )
|
||||
formatString: \$ #,0,," M";\$ -#,0,," M";\$ 0
|
||||
measure 'Costo de Ventas' = CALCULATE ( SUM ( vwPLMensual[costo_gasto] ), vwPLMensual[grupo] = "5" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Gastos Operativos' = CALCULATE ( SUM ( vwPLMensual[costo_gasto] ), vwPLMensual[grupo] = "7" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Otros Ing. y Gastos' = CALCULATE ( SUM ( vwPLMensual[costo_gasto] ), vwPLMensual[linea] = "Otros Ingresos y Gastos" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'ISR' = CALCULATE ( SUM ( vwPLMensual[costo_gasto] ), vwPLMensual[linea] = "Impuesto sobre la Renta" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad Bruta' = [Ventas Netas] - [Costo de Ventas]
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad Operativa' = [Utilidad Bruta] - [Gastos Operativos]
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad antes ISR' = [Utilidad Operativa] - [Otros Ing. y Gastos]
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad Neta' = SUM ( vwPLMensual[resultado] )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Margen Bruto %' = DIVIDE ( [Utilidad Bruta], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Margen Operativo %' = DIVIDE ( [Utilidad Operativa], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Margen Neto %' = DIVIDE ( [Utilidad Neta], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Costo % Ventas' = DIVIDE ( [Costo de Ventas], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Gastos % Ventas' = DIVIDE ( [Gastos Operativos], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Ventas AA' = CALCULATE ( [Ventas Netas], SAMEPERIODLASTYEAR ( DimCalendario[Date] ) )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad Neta AA' = CALCULATE ( [Utilidad Neta], SAMEPERIODLASTYEAR ( DimCalendario[Date] ) )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Ventas YoY %' = DIVIDE ( [Ventas Netas] - [Ventas AA], [Ventas AA] )
|
||||
formatString: 0.0%
|
||||
measure 'Utilidad YoY %' = DIVIDE ( [Utilidad Neta] - [Utilidad Neta AA], [Utilidad Neta AA] )
|
||||
formatString: 0.0%
|
||||
measure 'Ventas YTD' = TOTALYTD ( [Ventas Netas], DimCalendario[Date] )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Utilidad Neta YTD' = TOTALYTD ( [Utilidad Neta], DimCalendario[Date] )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Gasto Total' = SUM ( vwGastosDepto[gasto] )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Gasto AA' = CALCULATE ( [Gasto Total], SAMEPERIODLASTYEAR ( DimCalendario[Date] ) )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Gasto YoY %' = DIVIDE ( [Gasto Total] - [Gasto AA], [Gasto AA] )
|
||||
formatString: 0.0%
|
||||
measure 'Gasto % de Ventas' = DIVIDE ( [Gasto Total], [Ventas Netas] )
|
||||
formatString: 0.0%
|
||||
measure 'Saldo (fin periodo)' = VAR u = MAX ( vwBalanceMensual[fecha_mes] ) RETURN CALCULATE ( SUM ( vwBalanceMensual[saldo_presentacion] ), vwBalanceMensual[fecha_mes] = u )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Activos' = CALCULATE ( [Saldo (fin periodo)], vwBalanceMensual[grupo] = "1" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Pasivos' = CALCULATE ( [Saldo (fin periodo)], vwBalanceMensual[grupo] = "2" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Patrimonio' = CALCULATE ( [Saldo (fin periodo)], vwBalanceMensual[grupo] = "3" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Activo Corriente' = CALCULATE ( [Saldo (fin periodo)], vwBalanceMensual[subgrupo_cod] = "11" )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Pasivo Corriente' = CALCULATE ( [Saldo (fin periodo)], vwBalanceMensual[subgrupo_cod] IN {"20","21"} )
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Razon Corriente' = DIVIDE ( [Activo Corriente], [Pasivo Corriente] )
|
||||
formatString: 0.00
|
||||
measure 'Capital de Trabajo' = [Activo Corriente] - [Pasivo Corriente]
|
||||
formatString: \$ #,0,," M"
|
||||
measure 'Endeudamiento %' = DIVIDE ( [Pasivos], [Activos] )
|
||||
formatString: 0.0%
|
||||
partition vwPLMensual = m
|
||||
mode: import
|
||||
source =
|
||||
let
|
||||
Origen = Sql.Database("192.168.40.8", "MarmotechBI"),
|
||||
Datos = Origen{[Schema="presidencia", Item="vwPLMensual"]}[Data]
|
||||
in
|
||||
Datos
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"artifacts": [
|
||||
{ "report": { "path": "Radiografia_Marmotech.Report" } }
|
||||
],
|
||||
"settings": { "enableAutoRecovery": true }
|
||||
}
|
||||
Reference in New Issue
Block a user