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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JoosePekkarinen
Frequent Visitor

Filtering dates in visual that is based on time.

Hello, 

 

I have a following datasheet.

Date6:056:457:108:008:359:159:5010:2511:00
1.1.2022         
2.1.2022         
3.1.2022323657758
4.1.2022435547789
5.1.202232475669,56
6.1.20229  3  9  
7.1.2022431758848
8.1.20229  9,5  9,5  
9.1.20227  4  8  

(The dates and times go further.)

 

I transposed the data to create a visual using the specific times as a x-axis. After calculating averages and "usage" it looks like this based on the times.

PowerBI support1.PNG

I would like to know if there is a possibility filter that data with my dates. The dates in this configuration are now headers so my timetable can't understand them. I know I am missing something big. Any answer or guidance to a different way to configurate the data would be highly appreciated. 

 

The data which I used to create the visual looks like this:

PowerBI support2.PNG

So basically I just transposed the table. I think that there is a more simple way to create the visual without transposing so that I can use datetable as a slicer without problems. Thanks for any help.

2 ACCEPTED SOLUTIONS
mh2587
Super User
Super User

Did you try unpivot option ?


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



View solution in original post

@JoosePekkarinen 
Once unpivoted, you can use both columns (Date & Time) for slicing and dicing

View solution in original post

6 REPLIES 6
tamerj1
Super User
Super User

@JoosePekkarinen 
No other option than to unpivot your data

mh2587
Super User
Super User

Did you try unpivot option ?


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Thank you!

Hi, I have two tables of the same data. One is transposed and one is in its original format (The first datasheet in original post). With original data, I can create visuals that are based on dates but I want to spefically use the times as x-axis and as a base for the visual. Thank you!

@JoosePekkarinen 
Once unpivoted, you can use both columns (Date & Time) for slicing and dicing

Thanks! I got it now.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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