cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
baueduc298
Frequent Visitor

Show timestamp values but grouping in x axis

Hi everyone,

I'm newbie on PBI and I want to create a chart which I have already have on excel.
I have a dataset with timestamp values. The timestamp values are so frequent I want to show them all on one view, but I couldn't do that. As far as I know I need to group timestamp on x axis but I need to show all labels on scatter chart.

My dataset looks like;

DateTimeDIM1DIM2DIM3Measure
11/28/2021 0:00AXFAIL55.98
11/28/2021 0:01AXOK10.28
11/28/2021 0:02AXOK11.86
11/28/2021 0:03AYFAIL27.93
11/28/2021 0:04AYOK16.52
11/28/2021 0:05BZOK28.18
11/28/2021 0:06BZFAIL53.45
11/28/2021 0:07BZOK67.48
11/28/2021 0:08BTOK63.27


The view which It need to be looks like.

baueduc298_1-1638220345607.png

I tried to group timestamp values like 30-40 minutes interval but when I do that I couldn't show all values on the chart. It always needs aggregation. I don't want to aggregate my measure. I need them separetly.

You can find the all dataset and pbix file on this drive link.

5 REPLIES 5
v-luwang-msft
Community Support
Community Support

Hi  @baueduc298 ,

You need to setting 'sort by' x axis fields before turn off this option, then label will been expanded to multiple rows.

Operation steps:

vluwangmsft_0-1638512196180.gif

 

Fianl outpur result:

vluwangmsft_1-1638512217149.pngvluwangmsft_2-1638512233527.png

vluwangmsft_3-1638512247245.png

Refer: https://community.powerbi.com/t5/Desktop/concatenate-Labels-does-not-work-properly/td-p/415010 

https://www.youtube.com/watch?v=pUoW2gAK0Xo 

 

And you also could try like below:

Step1,create hierachy.

vluwangmsft_4-1638512412178.pngvluwangmsft_5-1638512433898.png

 

Step 2, create visual:

vluwangmsft_6-1638512472115.png

Step3,click as the below,and short by x column:

vluwangmsft_7-1638512513659.png

vluwangmsft_8-1638512550200.png

 

Step 4, close concatenate labels:

vluwangmsft_9-1638512620428.png

 

 

Final output:

vluwangmsft_10-1638512649562.png

 

 

 

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


Best Regards

Lucien

It isn't working for scatter chart.
I have still 2 problem for scatter chart
1- Continuous X axis
2- Don't Concatenate Label for X axis.

baueduc298
Frequent Visitor

I need help about that. Could anyone give idea ?

amitchandak
Super User
Super User

@baueduc298 , You need have DateTime on X axis as categorical . In all other option it will group data .

Scatter visual , In that if you want use some time bucket then you can use datetime as details

 

Axis_type.png



New Power BI Features
Datamarts: https://youtu.be/8tskWsJTEpg
Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin !! Proud to be a Super User!
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
!! Subscribe to my youtube Channel !!

Hi @amitchandak ,
Thank you for your answer but It doesn't work for me.
I think It was about 2 reason.
1- When you have more than 1 dimension in x axis, continuous option is not working.
2- It still not working even you have only 1 dimension(timestamp) on scatter chart.

I need x axis like that,

baueduc298_0-1638256118043.png
But It always shows like that.

baueduc298_1-1638256175974.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors
Top Kudoed Authors