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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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