Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
NEEHola, guys
I am trying to calculate the difference of days between the two dates with Networkdays, however what I am looking for is by means of a formula to calculate the difference excluding the repeated values in column #Guia, that is to say that the last rows of the table should only take me 1 since the rest is repeated as a result of the same case.
# Guide | Start Day | Closing Day |
000400006025 | 13/4/2023 | 5/5/2023 |
000400006037 | 18/4/2023 | 3/5/2023 |
000400006048 | 21/4/2023 | 5/5/2023 |
000400006051 | 21/4/2023 | 3/5/2023 |
000400006057 | 24/4/2023 | 8/5/2023 |
000400006064 | 24/4/2023 | 3/5/2023 |
000400006066 | 26/4/2023 | 10/5/2023 |
000400006067 | 26/4/2023 | 5/5/2023 |
000400006068 | 26/4/2023 | 9/5/2023 |
000400006069 | 26/4/2023 | 16/5/2023 |
000400006070 | 26/4/2023 | 16/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
000400006082 | 26/4/2023 | 15/5/2023 |
Solved! Go to Solution.
Now if I could solve you gave me an idea the formula is like this:
Now if I could solve you gave me an idea the formula is like this:
It does not work xq what you are summarizing is the dates and not considering the # of Guia, what I should do is summarize the repeated guides and calculate on the dates that remain.
@Syndicate_Admin , Try a measure like
Sumx(summarize(Table, Table[# Guide], Table[Start Day], Table[Closing Day]), networkdays(Table[Start Day], Table[Closing Day], 1))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
89 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |