Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello!
In the table attached i have 2 kind of date attributes from which i will draw at the end 2 cumulated line diagram...
Each row has an attribute for a type.
So... if i put this types in a slicer, the diagram should be calculated only from the results...
Can somone help me please?
Thank you!
| ID | topic | Planed Date | Actual date |
| row1 | topic 1 | 2024.09.01 | 2024.09.03 |
| row2 | topic 1 | 2024.09.01 | 2024.09.01 |
| row3 | topic 1 | 2024.09.01 | 2024.09.06 |
| row4 | topic 1 | 2024.09.04 | 2024.09.05 |
| row5 | topic 1 | 2024.09.04 | 2024.09.08 |
| row6 | topic 1 | 2024.09.05 | 2024.09.07 |
| row7 | topic 1 | 2024.09.06 | 2024.09.06 |
| row8 | topic 1 | 2024.09.07 | 2024.09.12 |
| row9 | topic 1 | 2024.09.08 | 2024.09.09 |
| row10 | topic 1 | 2024.09.09 | 2024.09.13 |
| row11 | topic 1 | 2024.09.10 | 2024.09.12 |
| row12 | topic 1 | 2024.09.10 | 2024.09.10 |
| row13 | topic 1 | 2024.09.10 | 2024.09.15 |
| row14 | topic 1 | 2024.09.10 | 2024.09.11 |
| row15 | topic 1 | 2024.09.11 | 2024.09.15 |
| row16 | topic 1 | 2024.09.12 | 2024.09.14 |
| row17 | topic 1 | 2024.09.13 | 2024.09.13 |
| row18 | topic 1 | 2024.09.14 | 2024.09.19 |
| row19 | topic 1 | 2024.09.14 | 2024.09.15 |
| row20 | topic 1 | 2024.09.14 | 2024.09.18 |
| row21 | topic 1 | 2024.09.14 | 2024.09.16 |
| row22 | topic 1 | 2024.09.14 | 2024.09.14 |
| row23 | topic 1 | 2024.09.14 | 2024.09.19 |
| row24 | topic 1 | 2024.09.15 | 2024.09.16 |
| row25 | topic 1 | 2024.09.16 | 2024.09.20 |
| row26 | topic 1 | 2024.09.17 | 2024.09.19 |
| row27 | topic 1 | 2024.09.18 | 2024.09.18 |
| row28 | topic 1 | 2024.09.19 | 2024.09.24 |
| row29 | topic 1 | 2024.09.20 | 2024.09.21 |
| row30 | topic 1 | 2024.09.21 | 2024.09.25 |
| row31 | topic 1 | 2024.09.21 | 2024.09.23 |
| row32 | topic 1 | 2024.09.21 | 2024.09.21 |
| row33 | topic 1 | 2024.09.21 | 2024.09.26 |
| row34 | topic 1 | 2024.09.21 | 2024.09.22 |
| row35 | topic 1 | 2024.09.21 | 2024.09.25 |
| row36 | topic 1 | 2024.09.21 | 2024.09.23 |
| row37 | topic 1 | 2024.09.21 | 2024.09.21 |
| row38 | topic 1 | 2024.09.21 | 2024.09.26 |
| row39 | topic 1 | 2024.09.21 | 2024.09.22 |
| row40 | topic 1 | 2024.09.22 | 2024.09.26 |
| row41 | topic 2 | 2024.09.10 | 2024.09.12 |
| row42 | topic 2 | 2024.09.10 | 2024.09.10 |
| row43 | topic 2 | 2024.09.10 | 2024.09.15 |
| row44 | topic 2 | 2024.09.11 | 2024.09.12 |
| row45 | topic 2 | 2024.09.12 | 2024.09.16 |
| row46 | topic 2 | 2024.09.13 | 2024.09.15 |
| row47 | topic 2 | 2024.09.14 | 2024.09.14 |
| row48 | topic 2 | 2024.09.14 | 2024.09.19 |
| row49 | topic 2 | 2024.09.14 | 2024.09.15 |
| row50 | topic 2 | 2024.09.14 | 2024.09.18 |
| row51 | topic 2 | 2024.09.14 | 2024.09.16 |
| row52 | topic 2 | 2024.09.15 | 2024.09.15 |
| row53 | topic 2 | 2024.09.16 | 2024.09.21 |
| row54 | topic 2 | 2024.09.17 | 2024.09.18 |
| row55 | topic 2 | 2024.09.18 | 2024.09.22 |
| row56 | topic 2 | 2024.09.26 | 2024.09.28 |
| row57 | topic 2 | 2024.09.27 | 2024.09.27 |
| row58 | topic 2 | 2024.09.28 | 2024.10.03 |
| row59 | topic 2 | 2024.09.29 | 2024.09.30 |
| row60 | topic 2 | 2024.09.30 | 2024.10.04 |
| row61 | topic 2 | 2024.09.30 | 2024.10.02 |
| row62 | topic 2 | 2024.09.30 | 2024.09.30 |
| row63 | topic 2 | 2024.09.30 | 2024.10.05 |
| row64 | topic 2 | 2024.09.30 | 2024.10.01 |
| row65 | topic 2 | 2024.09.30 | 2024.10.04 |
| row66 | topic 2 | 2024.09.30 | 2024.10.02 |
| row67 | topic 2 | 2024.09.30 | 2024.09.30 |
| row68 | topic 2 | 2024.09.30 | 2024.10.05 |
| row69 | topic 2 | 2024.09.30 | 2024.10.01 |
| row70 | topic 2 | 2024.09.30 | 2024.10.04 |
| row71 | topic 3 | 2024.09.05 | 2024.09.07 |
| row72 | topic 3 | 2024.09.06 | 2024.09.06 |
| row73 | topic 3 | 2024.09.07 | 2024.09.12 |
| row74 | topic 3 | 2024.09.08 | 2024.09.09 |
| row75 | topic 3 | 2024.09.09 | 2024.09.13 |
| row76 | topic 3 | 2024.09.10 | 2024.09.12 |
| row77 | topic 3 | 2024.09.10 | 2024.09.10 |
| row78 | topic 3 | 2024.09.11 | 2024.09.16 |
| row79 | topic 3 | 2024.09.12 | 2024.09.13 |
| row80 | topic 3 | 2024.09.14 | 2024.09.18 |
| row81 | topic 3 | 2024.09.14 | 2024.09.16 |
| row82 | topic 3 | 2024.09.14 | 2024.09.14 |
| row83 | topic 3 | 2024.09.15 | 2024.09.20 |
| row84 | topic 3 | 2024.09.16 | 2024.09.17 |
| row85 | topic 3 | 2024.09.17 | 2024.09.21 |
| row86 | topic 3 | 2024.09.18 | 2024.09.20 |
| row87 | topic 3 | 2024.09.26 | 2024.09.26 |
| row88 | topic 3 | 2024.09.27 | 2024.10.02 |
| row89 | topic 3 | 2024.09.28 | 2024.09.29 |
| row90 | topic 3 | 2024.09.29 | 2024.10.03 |
| row91 | topic 3 | 2024.09.30 | 2024.10.02 |
| row92 | topic 3 | 2024.09.30 | 2024.09.30 |
| row93 | topic 3 | 2024.09.30 | 2024.10.05 |
| row94 | topic 3 | 2024.09.30 | 2024.10.01 |
| row95 | topic 3 | 2024.09.30 | 2024.10.04 |
| row96 | topic 3 | 2024.09.30 | 2024.10.02 |
| row97 | topic 3 | 2024.09.30 | 2024.09.30 |
| row98 | topic 3 | 2024.09.30 | 2024.10.05 |
| row99 | topic 3 | 2024.09.30 | 2024.10.01 |
| row100 | topic 3 | 2024.09.30 | 2024.10.04 |
Solved! Go to Solution.
Hi @AtomChewacka
Based on my understanding, I'm answering this question. It might be correct/wrong. Pls follow the steps.
1) Create Planned date calculated column for cumulative counts. use the below measure
Cumulative Planned =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[Planed Date] <= EARLIER('Table'[Planed Date])
)
)
2) Create Actual date calculated column for cumulative counts. use the below measure
Cumulative Actual =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[Actual Date] <= EARLIER('Table'[Actual Date])
)
)
Then use this measures as shown in below snapshots.
-------------------------------------------
Use the slicer to filter the values as mentioned below snapshot.
I hope it will help you.
Thanks!
Hi @AtomChewacka
Based on my understanding, I'm answering this question. It might be correct/wrong. Pls follow the steps.
1) Create Planned date calculated column for cumulative counts. use the below measure
Cumulative Planned =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[Planed Date] <= EARLIER('Table'[Planed Date])
)
)
2) Create Actual date calculated column for cumulative counts. use the below measure
Cumulative Actual =
CALCULATE(
COUNTROWS('Table'),
FILTER(
ALL('Table'),
'Table'[Actual Date] <= EARLIER('Table'[Actual Date])
)
)
Then use this measures as shown in below snapshots.
-------------------------------------------
Use the slicer to filter the values as mentioned below snapshot.
I hope it will help you.
Thanks!
Hi @AtomChewacka
Can you show the desired result?
Hi @Ritaf1983 !
Sorry for the late answer!
You can see the solution by the next comment by @suparnababu8 .
The solution is working fine. Creating a date table and than the mesaure.
Only if you want to present more curves you need to create for all curves an own date table and measure and connect their data column by modeling.
BR
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.