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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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