Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
AtomChewacka
Frequent Visitor

Cumulative datas with slicer

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!

 

IDtopicPlaned DateActual date
row1topic 12024.09.012024.09.03
row2topic 12024.09.012024.09.01
row3topic 12024.09.012024.09.06
row4topic 12024.09.042024.09.05
row5topic 12024.09.042024.09.08
row6topic 12024.09.052024.09.07
row7topic 12024.09.062024.09.06
row8topic 12024.09.072024.09.12
row9topic 12024.09.082024.09.09
row10topic 12024.09.092024.09.13
row11topic 12024.09.102024.09.12
row12topic 12024.09.102024.09.10
row13topic 12024.09.102024.09.15
row14topic 12024.09.102024.09.11
row15topic 12024.09.112024.09.15
row16topic 12024.09.122024.09.14
row17topic 12024.09.132024.09.13
row18topic 12024.09.142024.09.19
row19topic 12024.09.142024.09.15
row20topic 12024.09.142024.09.18
row21topic 12024.09.142024.09.16
row22topic 12024.09.142024.09.14
row23topic 12024.09.142024.09.19
row24topic 12024.09.152024.09.16
row25topic 12024.09.162024.09.20
row26topic 12024.09.172024.09.19
row27topic 12024.09.182024.09.18
row28topic 12024.09.192024.09.24
row29topic 12024.09.202024.09.21
row30topic 12024.09.212024.09.25
row31topic 12024.09.212024.09.23
row32topic 12024.09.212024.09.21
row33topic 12024.09.212024.09.26
row34topic 12024.09.212024.09.22
row35topic 12024.09.212024.09.25
row36topic 12024.09.212024.09.23
row37topic 12024.09.212024.09.21
row38topic 12024.09.212024.09.26
row39topic 12024.09.212024.09.22
row40topic 12024.09.222024.09.26
row41topic 22024.09.102024.09.12
row42topic 22024.09.102024.09.10
row43topic 22024.09.102024.09.15
row44topic 22024.09.112024.09.12
row45topic 22024.09.122024.09.16
row46topic 22024.09.132024.09.15
row47topic 22024.09.142024.09.14
row48topic 22024.09.142024.09.19
row49topic 22024.09.142024.09.15
row50topic 22024.09.142024.09.18
row51topic 22024.09.142024.09.16
row52topic 22024.09.152024.09.15
row53topic 22024.09.162024.09.21
row54topic 22024.09.172024.09.18
row55topic 22024.09.182024.09.22
row56topic 22024.09.262024.09.28
row57topic 22024.09.272024.09.27
row58topic 22024.09.282024.10.03
row59topic 22024.09.292024.09.30
row60topic 22024.09.302024.10.04
row61topic 22024.09.302024.10.02
row62topic 22024.09.302024.09.30
row63topic 22024.09.302024.10.05
row64topic 22024.09.302024.10.01
row65topic 22024.09.302024.10.04
row66topic 22024.09.302024.10.02
row67topic 22024.09.302024.09.30
row68topic 22024.09.302024.10.05
row69topic 22024.09.302024.10.01
row70topic 22024.09.302024.10.04
row71topic 32024.09.052024.09.07
row72topic 32024.09.062024.09.06
row73topic 32024.09.072024.09.12
row74topic 32024.09.082024.09.09
row75topic 32024.09.092024.09.13
row76topic 32024.09.102024.09.12
row77topic 32024.09.102024.09.10
row78topic 32024.09.112024.09.16
row79topic 32024.09.122024.09.13
row80topic 32024.09.142024.09.18
row81topic 32024.09.142024.09.16
row82topic 32024.09.142024.09.14
row83topic 32024.09.152024.09.20
row84topic 32024.09.162024.09.17
row85topic 32024.09.172024.09.21
row86topic 32024.09.182024.09.20
row87topic 32024.09.262024.09.26
row88topic 32024.09.272024.10.02
row89topic 32024.09.282024.09.29
row90topic 32024.09.292024.10.03
row91topic 32024.09.302024.10.02
row92topic 32024.09.302024.09.30
row93topic 32024.09.302024.10.05
row94topic 32024.09.302024.10.01
row95topic 32024.09.302024.10.04
row96topic 32024.09.302024.10.02
row97topic 32024.09.302024.09.30
row98topic 32024.09.302024.10.05
row99topic 32024.09.302024.10.01
row100topic 32024.09.302024.10.04
1 ACCEPTED SOLUTION
suparnababu8
Super User
Super User

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.

suparnababu8_0-1726116567968.png

-------------------------------------------

suparnababu8_1-1726116600668.png

Use the slicer to filter the values as mentioned below snapshot.

suparnababu8_2-1726116655327.png

I hope it will help you.

 

Thanks!

View solution in original post

4 REPLIES 4
suparnababu8
Super User
Super User

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.

suparnababu8_0-1726116567968.png

-------------------------------------------

suparnababu8_1-1726116600668.png

Use the slicer to filter the values as mentioned below snapshot.

suparnababu8_2-1726116655327.png

I hope it will help you.

 

Thanks!

Dear @suparnababu8 !

 

Sorry for the belated thank you note...

So thank you very much for your help!

BR 

Ritaf1983
Super User
Super User

Hi @AtomChewacka 
Can you show the desired result?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors