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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Dynamic calculation time slider

Hello everybody, 

I'm trying to dynamically manipulate a value according to the time frame chosen on a time slicer (slider, not dropdown or selection). 

I have values per Month like this: 

JAN400
FEB325
....

 

Now, the goal is to break down the values according to the time frame chosen. 

For example, if I was to choose 1st of January - 4th of January as a timeframe, the value should be:


400/31 * 4

 

And if it would be 1st of January - 2nd of Feburary it should be: 


400/31 * 31 + 325/28 * 2


Is is possible to make a value react to a timeslicer like that? 
Any pointers would be much appreciated! 
Thank you!

1 REPLY 1
lbendlin
Super User
Super User

Approach your issue step by step

- get the distinct values of the dates inside your slider selection (min to max)

- group the values by month

- for each month add the count of days from the dates table

- add the count of days  from the slider/slicer for each group

- profit!

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.