Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Experts
I am trying to produce and time v Date matrix with conditional ofrmatting to show the density for the number of time people have visted a website.
Across the columns i would like to have unique dates and down the rows the hrs in 24hr clock format. 00:00 t0 24:00 and the values for the site vists to be added into the relavent buckets (see image below).
My data set has mulitple vists per day...
Link: to sample data https://www.dropbox.com/s/g1co4nqqzp4yavo/time.pbix?dl=0
Solved! Go to Solution.
hi @Anonymous
For your case, you could try this way as below:
Step1:
Create two calculate columns that
Weekday = FORMAT([Date],"dddd")
Weekday num = WEEKDAY([Date],2)
Step2:
You'd better change the data type for [Time] column as below:
Step3:
Create a simple measure
Measure = COUNTROWS(Sheet1)
Step4:
then create a matrix as below:
Of course, you'd better set the sort by column for weekday column.
https://radacad.com/sort-by-column-in-power-bi
and here is sample pbix file, please try it.
Regards,
Lin
hi @Anonymous
For your case, you could try this way as below:
Step1:
Create two calculate columns that
Weekday = FORMAT([Date],"dddd")
Weekday num = WEEKDAY([Date],2)
Step2:
You'd better change the data type for [Time] column as below:
Step3:
Create a simple measure
Measure = COUNTROWS(Sheet1)
Step4:
then create a matrix as below:
Of course, you'd better set the sort by column for weekday column.
https://radacad.com/sort-by-column-in-power-bi
and here is sample pbix file, please try it.
Regards,
Lin
So like the attached PBIX?
Hi Greg
the final result has to be in the same format as the image i attached to the question...in a matrix table. dates across the top and time running the side vertically
It is in a matrix table, it looks exactly like your image unless I am missing something obvious.
Greg Sorry my fault. thanks for te excellent feedback as always
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 33 | |
| 32 | |
| 31 |