Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
In one of my datasets, I'm using a measure to see how many weekend days there have been so far this period. On the actual UI page I have a slicer to select what period you'd like to look at, but the measure doesn't update- for example, when I select period 2, which started on 1/29, the measure should read a value of 1, since Sunday the 29th is the only weekend day thus far for period 2. Instead it reads a value of 9, which is the total number of weekend days so far this year. Any ideas on how to get the slicer to impact the measure below?
Solved! Go to Solution.
I was able to find a solution using the Selectedvalue function- below is an updated version of the code:
I was able to find a solution using the Selectedvalue function- below is an updated version of the code:
@mwvoves , You need create a measure for date filter to work
example
datediff(max(date[Date]), Today(),day) - networkdays(max(date[Date]), Today(),1)
What is the "networkdays" function you have? I don't seem to have that in my BI
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
57 | |
54 | |
36 | |
34 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |