Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi PowerBI gurus,
Given a dataset example below, I'd like to display total sale quantity by date in a line graph. This I can easily do. I'd like to be able to use a baseline line (the start from which the graph displays totals). This would:
I accomplished this with a hard-coded baseline date by adding a Boolean column "IsInBaseline" where I flag the specified items I want to track from the start month onward meeting the two criteria above.
What I would really like to have is a selectable baseline start date. This can't be a slicer as it would filter data on the page - and it would not include dates beyond the selected date and I still want to meet criteria #2 as well.
Example outputs are in the lower tables
Any ideas?
Output examples:
With a baseline date of 2024/01/01, the totals are by month but EXCLUDE pineapples as these were only introduced in April.
With a baseline of 2024/03/01, totals include 03/01 plus future months but still EXCLUDES pineapples.
Finally, with a baseline of 2024/04/01, values include all fruits including pineapples and tracks them into future months too.
Solved! Go to Solution.
Hi @ATMAN777
Thanks for updating the post. here is the solution:
you can write a measure as follows:
Hi @ATMAN777
Thanks for updating the post. here is the solution:
you can write a measure as follows:
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 135 | |
| 110 | |
| 50 | |
| 31 | |
| 29 |