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
Océane
Frequent Visitor

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

1 ACCEPTED SOLUTION
alexei7
Continued Contributor
Continued 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".

 

matrix.PNG

Hope that helps,

Alex

 

View solution in original post

5 REPLIES 5
alexei7
Continued Contributor
Continued Contributor

Hi Océane,

 

What does your data look like at the moment? 

Can you provide a sample?

 

Thanks

Alex

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

alexei7
Continued Contributor
Continued 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".

 

matrix.PNG

Hope that helps,

Alex

 

Thank you!

 

Actually, I was hoping for something with dots,  more like a dot plot but with hours in Y axis instead of just number for scale.

 

Do you think that possible?

 

But if not, your solution works 🙂

 

Océane

alexei7
Continued Contributor
Continued Contributor

I've had a look (and also at some custom visuals), but I can't see a way of doing what you're trying!

 

Maybe someone else will know a way.

 

Thanks,

Alex

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.