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.
Hello!
I've got a measure that I use as a date filter - essentially, i'm trying to show the last 3 working days (excluding today) worth of data:
Measure =
var a = CALCULATE(
NETWORKDAYS(SELECTEDVALUE('Calendar'[Date]), TODAY()),
KEEPFILTERS('Calendar'[Date])
)
return IF(a > 1 && a <;= 4,
CALCULATE(DISTINCTCOUNT('Orders'[OrdersID]))
)
On my local device, this works as expected. (As in today, is the 2nd March and it's showing me data from the 27th Feb to 1st March) However, when I publish this report, it's still showing me the data from 24th Feb (Friday), 27th Feb (Monday) and 28th Feb. I believe this may be an issue with the time zone of the published report, but I'm not sure how to test or debug this, or possible a caching issue. Does anyone have any suggestions?
And yes, I can use the relative date filter, but my client just wants the last 3 working days, which isn't an option in the filters.
Solved! Go to Solution.
Legend! Thank you
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 |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |