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
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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors