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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jfzuniga
Regular Visitor

Tabla de power bi con 2 dimensiones, granularidad entre filas y columnas

Cordial saludo,

 

Agradezco su ayuda con orientación para manejar la siguiente situación:

 

Tengo la siguiente tabla de dos dimensiones donde las columnas representan el valor de una medida en horas y las filas el dia al que corresponde la medida

jfzuniga_0-1602451646738.png

Quisiera pedir su ayuda para que me orienten sobre como podría componer una granularidad de dia,mes,año y hora con esta estructura, es decir, poder hacer una gráfica de líneas que me permita explorar hasta el nivel de hora. 

 

Muchas gracias.

1 ACCEPTED SOLUTION
NatachaPN
Frequent Visitor

Hello!, what I would do is modify the structure of the table in the dataprep with PowerQuery and lower it to the model with only three columns: Date, Time, and Value.

Suppose this extract is your current table:

Captura.PNG

What you should do is rename the hour columns, so that they contain only the number. corresponding to the time
Captura2.PNG
then you remove the dynamic to get one column with the hours and another with the values corresponding to each date:

NatachaPN_0-1602473974662.png

You accommodate the data types of each column, and in this way the table will make it easier for you to graph and show in depth from date to time:

NatachaPN_1-1602474109296.png

View solution in original post

2 REPLIES 2
NatachaPN
Frequent Visitor

Hello!, what I would do is modify the structure of the table in the dataprep with PowerQuery and lower it to the model with only three columns: Date, Time, and Value.

Suppose this extract is your current table:

Captura.PNG

What you should do is rename the hour columns, so that they contain only the number. corresponding to the time
Captura2.PNG
then you remove the dynamic to get one column with the hours and another with the values corresponding to each date:

NatachaPN_0-1602473974662.png

You accommodate the data types of each column, and in this way the table will make it easier for you to graph and show in depth from date to time:

NatachaPN_1-1602474109296.png

@NatachaPN thank you very much for your help, without being an expert on the subject I followed your directions and achieved it. Greetings.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.