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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Ritaf
Responsive Resident
Responsive Resident

Calendar Filters slice

Good morning.

I desperarely need help

I have a report with date slicer from...to... , my users want to update last day automaticly by the refresh date. I uppdated the calendar table's end day for today() to make it warking.

No I have a problem to calculate measures which dates is after "today", for example i have a target's table whit target for economy for purchase manegers for all year month by month and i need to see their results related to full year, quarter, i tryed many formulas to make it happen , but it shows me just a target until today..

formulas whose i tried:

yearly_target = CALCULATE(TOTALYTD(sum('Targests'[Target $]),Targests[date],ALLCROSSFILTERED(dimDate)))
yearly_target = CALCULATE(TOTALYTD(sum('Targests'[Target $]),Targests[תאריך],ALLEXCEPT(dimDate,dimDate[year])))
yearly_target = CALCULATE(TOTALYTD(sumx(Targests,Targests[Target $]),dimDate[date]),ALLEXCEPT(dimDate,dimDate[year]))
TargetQ =
CALCULATE(sumx(Targests,'Targests'[Target $]),
year('dimDate'[date])=year(today()),
'dimDate'[QuarterNumOfYear]=ROUNDUP(MONTH(today())/3,0))
Link for pbix:
 
thank a lot, 
Rita
 
2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

Can you try setting the date in slicer using relative and advance setting and try. make calendar full..

Screenshot 2019-10-17 13.51.55.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

Ritaf
Responsive Resident
Responsive Resident

Thanks a lot it solved my problem!!!!!!!!!!!!!!!!!!Smiley Very Happy

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Can you try setting the date in slicer using relative and advance setting and try. make calendar full..

Screenshot 2019-10-17 13.51.55.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Ritaf
Responsive Resident
Responsive Resident

Thanks a lot it solved my problem!!!!!!!!!!!!!!!!!!Smiley Very Happy

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.