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!
I want my YTD line graph to show Jan-Oct when Oct is selected on the slicer but it is only showing data for October?
Solved! Go to Solution.
Hi @LukeDurrant
I ran the testing as follows.
My sample:
Create a measure as follows
Measure = IF(MONTH(MAX('Table'[Date])) <= MONTH(SELECTEDVALUE('Date'[Date])), 1, 0)
Put the measure into the visual-level filters, set up show items when the value is 1.
Is this the result you expect?
Best Regards,
Community Support Team _Yuliax
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LukeDurrant
I ran the testing as follows.
My sample:
Create a measure as follows
Measure = IF(MONTH(MAX('Table'[Date])) <= MONTH(SELECTEDVALUE('Date'[Date])), 1, 0)
Put the measure into the visual-level filters, set up show items when the value is 1.
Is this the result you expect?
Best Regards,
Community Support Team _Yuliax
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is it possible to change it so that i only have to select oct to show Jan - Oct?
You need to select Jan-Oct in the slicer to get it to show Jan-Oct.
Proud to be a Super User! | |
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 |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 9 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 41 | |
| 39 | |
| 25 | |
| 25 |