Forum Discussion
Matricial dot plot
Hi,
I was wondering if it is possible to create a sort of matricial dot plot (I'm not even sure than means something ;) )
Concretely, I have persons who send messages at certain hours. I would like to have my liste of persons in X axis, all my hours in Y axis and a dot when a person send a message at the corresponding hour.
Should look like that:
3 pm x
2 pm x
1 pm x x
John Jane June
Does someone have an idea how to do that?
Thanks!
Océane
Hi Océane,
Yep I've this working for me.
Firstly create a measure - please change "Table1" to whatever your table is called:
Measure = if(COUNTROWS(Table1)>0,"X","")
Now in Power BI select the "Matrix" visualisation.
Put "Creation_Hour" as the row, "Posting_Author" as the column and the new measure as your "Values".
Hope that helps,
Alex
5 Replies
- alexei7Continued Contributor
Hi Océane,
What does your data look like at the moment?
Can you provide a sample?
Thanks
Alex
- OcéaneFrequent Visitor
I have 3 columns that matter :
ID_Post ; Creation_Hour ; Posting_Author
Every line is for a different post. I can have several hours for a single person (several persons for one hour is unlikely but theoretically possible)
For example, I would have
1 ; 1:00:00 ; John
2 ; 3:00:00 ; Jane
3 ; 1:00:00 ; June
4 ; 2:00:00 ; June
- alexei7Continued Contributor
Hi Océane,
Yep I've this working for me.
Firstly create a measure - please change "Table1" to whatever your table is called:
Measure = if(COUNTROWS(Table1)>0,"X","")
Now in Power BI select the "Matrix" visualisation.
Put "Creation_Hour" as the row, "Posting_Author" as the column and the new measure as your "Values".
Hope that helps,
Alex