Forum Discussion
Visual simultaneous events
Thanks mahoneypat
That gets me pretty close. I was playing with it and would need to change a couple of things that i haven't been able to:
1. Change the color of the bars
2. Can the visual be sorted by one of its fields?
3. I have a tooltip now but would like it to show User first instead of after StartTime. Can that be changed?
I'm attaching a pbix with your Vega code in a Deneb visual and the events data
Thanks a lot
Please see the attached that addresses:
- Specifying fields and the display order for the tooltip. Note that a "format" is also needed to get the the datetime values to show in full
- Specify a different "color" for the "mark" or using the User field in "encoding" (two different tabs; not sure which one you wanted)
- Sorting by a field. I didn't see an additional field, so I sorted by User descending to demonstrate the syntax.
Pat
- Br1-9813 years agoHelper I
mahoneypat Very useful, thanks for letting me discovering this visual, literally saved my day!
Do you know if is it possible to remove completely the legend?
Do you have further documentation about it?
Thanks in advanceBruno
- mahoneypat3 years agoMicrosoft Employee
Here are two great links to get started with the Deneb visual, which leverages Vega Lite. The second link has all the documentation for Vega Lite where you can see the properties for a legend and how to disable it.
Declarative Visualization in Power BI | Deneb (deneb-viz.github.io)
Pat