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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

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.

Ritaf
Responsive Resident
Responsive Resident

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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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