The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
This is my data set ,
Where I have active relationship with end date and inactive with start date
I'm filter users with slicer selected value for LineManager column and when friday column value is true
Solved! Go to Solution.
Instead of
CALENDAR([start-date],[end-date])
you can use a list
{[start-date],[end-date]}
if you really want to check only for these two dates.
Hi @chintusasmal123 , Please let us know if your issue is solved. If it is, consider marking the answer that helped 'Accept as Solution', so others with similar queries can find it easily. If not, please share the details.
Thank you.
Hi @chintusasmal123 , Please let us know if your issue is solved. If it is, consider marking the answer that helped 'Accept as Solution', so others with similar queries can find it easily. If not, please share the details.
Thank you.
Hi @chintusasmal123 , Thank you for reaching out to the Microsoft Community Forum.
Please let us know if your issue is solved. If it is, consider marking the answers that helped 'Accept as Solution', so others with similar queries can find them easily. If not, please share the details.
Thank you.
You need to use a disconnected calendar table for this.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
ID | Requestor Name | LineManager | start-date | end-date | RWWithin24Hr | RWWorkigOption | RWMonday | RWTuesday | RWWednesday | RWThursday | RWFriday |
6630 | MD | CS | 01/02/2025 | 12/03/2025 | TRUE | FALSE | FALSE | TRUE | FALSE | TRUE | |
7022 | NS | CS | 27/02/2025 | 10/03/2025 | TRUE | TRUE | TRUE | TRUE | TRUE | TRUE | |
7616 | SR | CS | 24/04/2025 | 09/05/2025 | TRUE | TRUE | TRUE | TRUE | TRUE | TRUE | |
6412 | PP | CS | 01/01/2025 | 27/06/2025 | TRUE | FALSE | FALSE | FALSE | TRUE | TRUE | |
6420 | CD | CS | 02/01/2025 | 27/06/2025 | TRUE | FALSE | FALSE | FALSE | TRUE | TRUE | |
6424 | SV | CS | 02/01/2025 | 27/06/2025 | TRUE | FALSE | FALSE | FALSE | TRUE | TRUE | |
7629 | NM | CS | 23/04/2025 | 30/06/2025 | TRUE | TRUE | TRUE | TRUE | TRUE | TRUE |
When a user select a date range from 01-03-2025 to 30-04-2025 then any employee who's start date falls inbetween the date range or earlier showed be shown and also who's end date falls inbetween or greater should be shown , for example here Chintan is doing work from home 02/01/2025 till 27/06/2025 that mean he falls between the date range of 01-03-2025 to 30-04-2025
6420 | CD | CS | 02/01/2025 | 27/06/2025 |
Now if I select date range from 01/04/2025 to 30/06/2025 , I'm getting wrong value rather I should have got 5 all record either start date or end date falls in that range
Instead of
CALENDAR([start-date],[end-date])
you can use a list
{[start-date],[end-date]}
if you really want to check only for these two dates.
User | Count |
---|---|
65 | |
62 | |
58 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |