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! Request now

Reply
Zack92
Helper III
Helper III

Issue with Calculations When Selecting Multiple Items on Page-Level Filter

Hey, I’m running into an issue where some calculations aren’t working properly when I select multiple items on the page-level filter [df_ProjectSummary[Project Rev Rec Type]]. Does anyone know what might be causing this?

 

RunningSumMnth = 
VAR minimumdate =
    CALCULATE (
        MIN ( AppendCombinedRunningSumMnth[Date] ),
        ALL ( AppendCombinedRunningSumMnth[Date] )
    )
VAR totalhour =
    CALCULATE (
        CALCULATE (
            SUM ( AppendCombinedRunningSumMnth[Hours] ),
            CROSSFILTER ( AppendCombinedRunningSumMnth[Project Name], df_ProjectSummaryRunningSum[Project Name], NONE ),
            AppendCombinedRunningSumMnth[Region_Adj]
                = SELECTEDVALUE ( df_ProjectSummaryRunningSum[Region Adj] )
        ),
        FILTER (
            ALL ( AppendCombinedRunningSumMnth[Date].[Date] ),
            AppendCombinedRunningSumMnth[Date].[Date] >= MIN ( AppendCombinedRunningSumMnth[Date] )
        )
    )
RETURN
    IF (
        MIN ( AppendCombinedRunningSumMnth[Date].[Date] ) <= minimumdate,
        SUM ( df_ProjectSummaryRunningSum [Remaining Billable Hours] ) - totalhour
    )

 

Page filter selected only 1 item

Zack92_0-1737139167333.png

When Selecting multiple items 

Zack92_1-1737139329960.png

It should sum up both values, but it's not doing that. Any idea why is that? All I want is for it to sum up the values for whatever items are selected in the filter. (For example, the Ratable number for December is 2,324.75, and the % Complete number is 2,875.25. When I select both, it should sum up to around 5,200)

Thank you 

3 REPLIES 3
Zack92
Helper III
Helper III

@Ritaf1983 
In the sample file, if you pick "% Completed" on the Project Rev Rec Type filter, you'll see the value for December 2024 is 657 for the NA Region. If you choose "Ratable," it shows 520 for the same region and month. But if you select both (% Completed and Ratable), the total should be 1,190 (the sum of both values). Instead, it's showing 1,177. I was hoping it would show 1,190 as the correct total. Any help would be appreciated! Thanks!

 

Sample File 
https://drive.google.com/file/d/1FuasuHGtYHjF2FfKZmM5hOC80kD4qpZ8/view?usp=sharing

 

calerof
Impactful Individual
Impactful Individual

 

 

   657
+  520
= 1177

 

It's important that you uncheck the auto date/time checkbox in Options and create your own Calendar table.

I'd also suggest to optimize your model and check how the tables are related to each other.

 

Ritaf1983
Super User
Super User

Hi @Zack92 

Please share sample data (excluding sensitive information) in text format, along with your expected result and any relevant logic. For guidance, refer to

How to provide sample data in the Power BI Forum

If possible, upload a simplified .pbix file using this guide:

 How to upload PBI in Community

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

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
Top Kudoed Authors