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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
galvar1975
Frequent Visitor

Date and Time X-axis

I have a table with values every 15 minutes, I would like to create a chart with hours in the x-axis, and the magnitude of the measured variable (Potencia R(MW)) in the Y-axis.

 

 

DataExample.PNG

I have created a relationship between this table and my "Datestable", but it does not work.  

Any help is welcome!

1 ACCEPTED SOLUTION

Hi @galvar1975 

 

If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

4 REPLIES 4
v-diye-msft
Community Support
Community Support

Hi @galvar1975 

 

I figure that you’d like to create the chart with hours in axis, and MW in the values.

So I’ve added the Hour column in your fact table and place it in the axis.

Column = HOUR(Table1[FECHA-dato])

8.png

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

I have to retrieve the hours and minutes, and it would be great if that could be done with a measure!

Hi @galvar1975 

 

We’re not able to set the measure on X-axis. For any column to be used as an axis value, it should be a category.

So in this case, it’s preferred to use column rather than measure.

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Hi @galvar1975 

 

If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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