In this workout, you will create a dynamic title and subtitle for total sales with forecasting variance, including green and red arrows or icons to indicate positive and negative values along with the percentage in the subtitle.
The trick here lies in how you format the subtitle and the main title. It’s all in the padding and conditional formatting to get the different font sizes and colors.
Even though the Sales amount and the percentage value are on the same line, they are independent.
Also, in this dataset, I have included forecasting values for you using RAND(). A column called ForeCastingRand has been added to the Sales Table.
Feel free to bring in your own generic forecasting numbers to use. You will need Forecast Difference and Forecast Percent Difference.
Load the supplied data file into a new Power BI file, create your solution, and reply to this post. Upload a screenshot of your solution along with the DAX measure. Please format your DAX code and blur it or place it in a hidden section.
Period
This workout will be released on Thursday, May 25, 2023, and will end on Sunday, May 28, 2023. But you can always come back to any of the workouts and solve them.
@Paul.Gerber just for clarification, is this highlighted number supposed to be the percentage difference between total sales and total Sales[ForeCastingRand]?
It happens. thanks for clarifying. I see it’s fixed at the top, too. I was thinking maybe you had an unexposed filter on the original or something. I didn’t pull my hair out or anything.