Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:
JAN | 400 |
FEB | 325 |
.. | .. |
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!
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!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |