Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
paultaylor006
Frequent Visitor

Creating a slicer for current month and YTD

I am trying trying to create a slicer that will allow financial reports to be filtered to disply current month or YTD data.

 

I have 2 fact tables (actual and budget) which are both linked to a dates table plus some other dimensions tables. The dates table already has current month and ytd columns created by using an offset calculation within the dates table. 

 

I suspect the solution is through creating a SWITCH dax measure but cannot quite work it through. 

 

Any help appreciated. 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @paultaylor006 

it seems field parameter might help you switching among multiple measures to plot the visuals. 

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

hi @paultaylor006 

it seems field parameter might help you switching among multiple measures to plot the visuals. 

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.