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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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