Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
joel121960
Helper I
Helper I

Generar Grafico Power Bi con varios niveles

joel121960_0-1724817852820.png

Tengo que generar el siguiente reporte en power BI  y tengo mi data de este modo  como  podria armarlo ne ayudan ? 

TicketNivel 1Nivel 2Nivel 3
1IncidenteHardwareInc Vales
2IncidenteHardwareComandas
3IncidenteHardwareImpresionTickets
4IncidenteSoftwareImpresionTickets
5IncidenteSoftwareComandas
6IncidenteSoftwareInc Vales
7RequerimientoHardwareOtros
8RequerimientoSoftwareOtros
…..   
1 ACCEPTED SOLUTION
ArnaldoSandoval
Frequent Visitor

Hi Joel,

 

This is one way to handle your issue:

 

Support-02.png

  • We added CALCULATED measures to your table, according to the topic referenced above; this is done in the Table View.
Inc. Vales = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[Nivel 3]="Inc Vales")
Incidente de SW = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande] = "Incidente de Software")
Incidentes de HW = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande] = "Incidente de Hardware")
Incidentes Totales = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande]="Incidente de Hardware" || Ejemplo[CategoriaGrande] = "Incidente de Software" )
Commandas = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[Nivel 3]="Commandas")
  • In the Report View, we added a New Parameter.
Parameter = {
    ("Incidente de SW", NAMEOF('Ejemplo'[Incidente de SW]), 0),
    ("Incidentes de HW", NAMEOF('Ejemplo'[Incidentes de HW]), 1),
    ("Inc Vales", NAMEOF('Ejemplo'[Inc. Vales]),2),
    ("Commandas", NAMEOF([Commandas]),3),
    ("Incidentes Total", NAMEOF([Incidentes Totales]), 4)
}
  • In the Report View, we added a Line Chart with the following visualizations attributes:

Support-03.png

  • This is the Line Chart with parameters as described:

Support-04.png

 

Comments:

  • You did not supply sample data and some of the columns are missing, I added my sample data, and it is very difficult to illustrate a solution with incomplete data.
  • You did not define your Incidentes Total expression, this solution is using Incidentes de SW and Incidentes de HW.
  • Your expected solutions combined data from 3 different categories, two of them easily converted to a combined one (Nivel 1  +  Nivel 2).

 

Hope this helps,

Arnaldo.

 

View solution in original post

4 REPLIES 4
ArnaldoSandoval
Frequent Visitor

Hi Joel,

 

This is one way to handle your issue:

 

Support-02.png

  • We added CALCULATED measures to your table, according to the topic referenced above; this is done in the Table View.
Inc. Vales = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[Nivel 3]="Inc Vales")
Incidente de SW = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande] = "Incidente de Software")
Incidentes de HW = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande] = "Incidente de Hardware")
Incidentes Totales = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[CategoriaGrande]="Incidente de Hardware" || Ejemplo[CategoriaGrande] = "Incidente de Software" )
Commandas = CALCULATE(SUM(Ejemplo[Cantidad]), Ejemplo[Nivel 3]="Commandas")
  • In the Report View, we added a New Parameter.
Parameter = {
    ("Incidente de SW", NAMEOF('Ejemplo'[Incidente de SW]), 0),
    ("Incidentes de HW", NAMEOF('Ejemplo'[Incidentes de HW]), 1),
    ("Inc Vales", NAMEOF('Ejemplo'[Inc. Vales]),2),
    ("Commandas", NAMEOF([Commandas]),3),
    ("Incidentes Total", NAMEOF([Incidentes Totales]), 4)
}
  • In the Report View, we added a Line Chart with the following visualizations attributes:

Support-03.png

  • This is the Line Chart with parameters as described:

Support-04.png

 

Comments:

  • You did not supply sample data and some of the columns are missing, I added my sample data, and it is very difficult to illustrate a solution with incomplete data.
  • You did not define your Incidentes Total expression, this solution is using Incidentes de SW and Incidentes de HW.
  • Your expected solutions combined data from 3 different categories, two of them easily converted to a combined one (Nivel 1  +  Nivel 2).

 

Hope this helps,

Arnaldo.

 

Hola @ArnaldoSandoval

Gracias por compartir tus pensamientos.

Saludos
Yulia Xu

ArnaldoSandoval
Frequent Visitor

Hola Joel,

 

Estoy tratando de entender to problema, pero tu muestra de datos no incluye dos columnas, una que defina la fecha y otra una cantidad; podrias elaborar un poco mas sobre esas columnas.

 

Arnaldo

si existe la columna fecha de creación.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors