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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Cumulative plot filtering error

Hello!

I have some cumulative plots in my dashboard but when I try to filter it does not work. 

gustavoamolina_1-1693832501257.pnggustavoamolina_2-1693832514194.png

 

Every time when there is no data to be added the measure place the minimum value intead of the cumulative value.

This is the measure that I've used: 

cumulativetimepercycle = CALCULATE(COUNT(Hood[Time of usage]),FILTER(ALL('Hood'),Hood[Time of usage]<=MAX(Hood[Time of usage])))
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

If I understand correctly, it seems that the culmulative values not display correctly when apply the filter. Am I right? Please update the formula of measure [cumulativetimepercycle] as below and check if it can return your expected result...

cumulativetimepercycle =
CALCULATE (
    COUNT ( Hood[Time of usage] ),
    FILTER (
        ALLSELECTED ( 'Hood' ),
        Hood[Time of usage] <= SELECTEDVALUE ( Hood[Time of usage] )
    )
)

If the above one didn't help you, please provide some raw data in your table 'Hoodwith Text format, the filter settings and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

If I understand correctly, it seems that the culmulative values not display correctly when apply the filter. Am I right? Please update the formula of measure [cumulativetimepercycle] as below and check if it can return your expected result...

cumulativetimepercycle =
CALCULATE (
    COUNT ( Hood[Time of usage] ),
    FILTER (
        ALLSELECTED ( 'Hood' ),
        Hood[Time of usage] <= SELECTEDVALUE ( Hood[Time of usage] )
    )
)

If the above one didn't help you, please provide some raw data in your table 'Hoodwith Text format, the filter settings and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.