Custom data labels with dynamic formatting in Power BI
In this video I will show you how to add annotations to your charts using dynamic formatting 🙂
Watch the tutorial on YouTube
The code or download sample file:
And here is the code for the formatting:
VAR annotDate = SELECTEDVALUE(Annotâtions[Date])
return
SWITCH(TRUE(),
SELECTEDVALUE('Calendar'[Date])= annotDate,
SELECTEDVALUE(Annotations[Event short]), """")
But if you prefer the file, download it here – Community Downloads -#080
More tips and tricks on formatting data labels:
Was this helpful?
Reader Interactions