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 have a single table with DateMonth and DateYear, I need to use slicer to filter visuals like below:
SLicer 1 will have all the months listed (jan to Dec), slicer 2 will have two values, Current and YTD.
Scinario 1: slicer 1= April, Slicer 2= Current, data displayed will only be of april month, example april 2018
Scinario 2: slicer 1= April, Slicer 2= YTD, data displayed will be of Jan 2018 to april 2018.
How can I implement this?
Hi @ristyagi
Hope this tutorial will help : https://community.powerbi.com/t5/Community-Knowledge-Base/Dynamic-column-based-on-slicer-selection/t...
- Quentin
HI @ristyagi
I have attached a PBIX file that shows how you can use a dynamic measure based on a slicer.
Basically, don't create a relationship between the slicer and the fact table.
hi @Phil_Seamark,
Thanks for the quick response, just one thing to ask here,
in this solution we are getting the sum from table in a separate measure.
but in mu existing dat aI have multiple cloumns present in the table , whcih are used in nbullet charts, I simply need my charts to get filtered based on these combinations of slicers, how will that be possible ?
@ristyagi,
When you drag fields of your table and the measure into a chart , the chart will be filtered according to the selection in the two slicers.
Regards,
Lydia
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 |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 105 | |
| 40 | |
| 33 | |
| 25 |