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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
Hope everyone is doing well.
I need some more help with adding a column instead of a measure, please
Find the # of Days Working between Start Date and First Open Time with the criteria of:
1. Answer = Accept
2. Status <> Void
3. First Open Time after Start Date
4. Counting the Working Days, I have a dates table that counts each work day as 1, column name Is Weekday
Solved! Go to Solution.
Hi @Anonymous ,
I solved your issue but it consists of several steps. The results are the same as you sent me later in the printscreen.
Solution is following:
1. Create an Index column in Power Query. This will help identify which data input is earlier or later.
2. Create new column called DateDiff. This will be used later for filtering + giving results. Formula is following:
3. Create new column with the Result. This DAX formula copies the logic you have. The most crucial part is within CALCULATE and MINX, where we specify which data we need to filter. Here the Index column is needed.
Let me know if you have any other question!
Hi @Anonymous ,
I solved your issue but it consists of several steps. The results are the same as you sent me later in the printscreen.
Solution is following:
1. Create an Index column in Power Query. This will help identify which data input is earlier or later.
2. Create new column called DateDiff. This will be used later for filtering + giving results. Formula is following:
3. Create new column with the Result. This DAX formula copies the logic you have. The most crucial part is within CALCULATE and MINX, where we specify which data we need to filter. Here the Index column is needed.
Let me know if you have any other question!
Hi @Anonymous ,
Can you please give example of a result?
Do you want to calculate days only for fulfilled criteria? And what do you want to see if the criteria is not fulfilled?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |