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
Vetex_steven
Frequent Visitor

problem visualizing in a line chart

I'm totally new to Power BI and I'm having problems visualizing my data in a line chart.

 

When I choose my columns, I have the impression that my date/time isn't showing correctly.

 

see also attachments

 

Can someone point me in the right direction?

 

powerbi - 2.PNGpowerbi.PNG

1 ACCEPTED SOLUTION

Hi @Vetex_steven ,

 

You can add the datetime column to AXIS field.

Then create a new table as slicer.

Table 2 = DISTINCT('Table'[datetime])

13.PNG

Since the min level of date range for the defult slicer is day, we need to create a measure as below and add it to visual level filter.

Measure = IF(SELECTEDVALUE('Table'[datetime])>=MIN('Table 2'[datetime])&&SELECTEDVALUE('Table'[datetime])<=MAX('Table 2'[datetime]),1,0)

You will need to select two value in the slicer (min time and max time).

14.PNG

15.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

View solution in original post

11 REPLIES 11

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.