cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Samrawit21
Helper V
Helper V

Extracting Hour data values

Hello, I have a table that contains columns like date(including year, month, date, hours), temperature and other columns. I want to analyze the data for specific hours of each day. For example,  Temperature values of lunchtime for the whole month. How can I do that?

4 REPLIES 4
Greg_Deckler
Super User IV
Super User IV

Sample data would help. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

That being said, you can use HOUR function to extract the hour.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




screenshot.PNG

I want to make a visualization using the temperature values of specific hours For example, (from 12:00 - 13:00)for the whole month.

Right, so you would create two columns:

 

Month = MONTH([Date])

Hour = HOUR([Date])

 

Then just put both of these in the x-axis and you can drill down.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors