Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello experts!
Im looking for a custom visual, which shows a line chart against a dash target. Here is what's available now... (actual data & 5pt moving average)... anyone know of something similar?
But I'd like something like this... (maybe not so dominant with red color)
I would try R Visualizations:
http://www.quantmod.com/documentation/addMA.html
http://grokbase.com/t/r/r-help/09ca8g04my/r-moving-averages-in-ggplot2
Thanks! Ive already created the moving average (shown as the grey line on the line chart). Im more interested in finding out if anyone has a visual that would place the red target lines on a chart. None of the current visuals can do this.
It is so hacky I can't help myself from posting it. What if you created a waterfall chart that had your little red boxes and then just placed a line chart over it?
Where I was going with the R visuals was that you should have absolute control over the visualizations to be able to code what you want without going down the custom visual route. ggplot2 should provide the control over the chart to place those boxes on there if you can find the right R code.
Thanks! I love getting a little creative and hacky 🙂
Im not anywhere close to being an expert in the system, so the thought of learning R is a daunting one, maybe that'll be my next endeavor. Thanks for the suggestions though!
Paul
@Anonymous Another option (though slightly different) would be to use "Smoothing Splines" - found in the new R script showcase. There is a PBIX file with all the R code that you can download etc.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |