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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mrbuttons07
Helper II
Helper II

Running Count Showing Blank Values

Hello everyone,

I'm facing an issue with my running count calculation that's showing blank values. The blank values appear due to no values being keyed in the month August.

mrbuttons07_0-1702906228936.png


I'm using the following formula below:

Closed (Actual) =
CALCULATE(
    COUNT('Table1'[combined_id-Cat]),
    FILTER(
        ALLSELECTED('Table1'),
        'cat+mit'[closed_date_name] <= MAX('cat+mit'[closed_date_name])
    ))


Is there anything I can do to ensure the running count formula extends to blank rows?

Thanks!

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @mrbuttons07 ,

Do you want a smooth transition in August or do you want it to show 0?
1. Please try:

Closed (Actual) =
CALCULATE(
    COUNT('Table1'[combined_id-Cat]),
    FILTER(
        ALLSELECTED('Table1'),
        'cat+mit'[closed_date_name] <= MAX('cat+mit'[closed_date_name])
    )) + 0

vcgaomsft_1-1703579948375.png

 


2. Consider using continuous axis instead of classified axis.

vcgaomsft_0-1703579755916.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @mrbuttons07 ,

Do you want a smooth transition in August or do you want it to show 0?
1. Please try:

Closed (Actual) =
CALCULATE(
    COUNT('Table1'[combined_id-Cat]),
    FILTER(
        ALLSELECTED('Table1'),
        'cat+mit'[closed_date_name] <= MAX('cat+mit'[closed_date_name])
    )) + 0

vcgaomsft_1-1703579948375.png

 


2. Consider using continuous axis instead of classified axis.

vcgaomsft_0-1703579755916.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Ahmedx
Super User
Super User

you need to either get the latest previous sales or get the Rolling average for 3 months
latest previous sales :
https://community.fabric.microsoft.com/t5/Desktop/I-need-help-with-DAX-query-to-SUM-the-Amount-of-di...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.