cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VazhaPBI
Frequent Visitor

Daily Sales Plan Total By Filtered Date

Hello Guys,

I divided Monthly Sales Budget by monthly working days, but now total doesnt show sum of i, now my situation is seen on screen.
Untitled.png
this is Daily budget calculation:

Daily Budget2 = IF(ISFILTERED('DatesTable - All Reports'[Date]),
            CALCULATE(
                SUM('Sales Plan Data - All Reports'[Daily Budget]),
                TREATAS(VALUES('DatesTable - All Reports'[MonthAndYear2]),'Sales Plan Data - All Reports'[MonthAndYear])

                ), [Total Budget])
Total Budget Calculation:
Total Budget = CALCULATE(
                    SUM('Sales Plan Data - All Reports'[Budget Amount]),
                    TREATAS(VALUES('DatesTable - All Reports'[MonthAndYear2]),'Sales Plan Data - All Reports'[MonthAndYear])

                )

1 ACCEPTED SOLUTION
RicoZhou
Community Support
Community Support

Hi @VazhaPBI ,

 

 I think you can create sum based on [Daily Budget2] table.

New Daily Budget2 =
SUMX ( VALUES ( 'TableName'[Date] ), [Daily Budget2] )

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
RicoZhou
Community Support
Community Support

Hi @VazhaPBI ,

 

 I think you can create sum based on [Daily Budget2] table.

New Daily Budget2 =
SUMX ( VALUES ( 'TableName'[Date] ), [Daily Budget2] )

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.