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.
Hi,
I am trying to create a measure or column that will allow me to easily bring the latest value into my visuals. Here is some example data; the highlighted column is what I'm trying to create.
The end goal is to show the most recent sale as a flat line across a graph, so I can compare historical sales to the most recent one visually, by product. Also, the date needs to be dynamic so it automatically updates the values when fresh data is loaded.
Thanks!
Solved! Go to Solution.
Hi @schaezac please check this
Hi @schaezac please check this
EDIT: please disregard follow up - fixed my date table range to correct this. Thanks again, you're a lifesaver!
This worked - thanks so much! One last question - is there a way to curtail the data so it does not extend past my most recent data? For example, in the graph below, my most recent data is in January 2025. I would like the dotted line (the one you helped me create) to stop in January as well. I think this is due to my date table extending far beyond the latest actual data.
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
10 | |
6 |