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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
njxfoster
Helper I
Helper I

How to get the correct measure total?

Hi Guys!

 

njxfoster_4-1711644122629.png

 

 

I want to make "Forecast to Actual % daily" total show total of 103.69(all combine) instead of 21.11

 

 

 

 

njxfoster_3-1711644091704.png

 

The calculation for "Forecast to Actual % daily" is  Call Received/Forecast

 

I am using measure:  Forecast to Actual % daily = divide(sum('Forecast%'[Call Received]),SUM('Forecast%'[Forecast]))

 

 

What changes I need to make on my measure so I can get the correct total for my data??

 

Thanks in advance!

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @njxfoster ,

I create a table as you mentioned.

vyilongmsft_0-1711680675414.png

Then I use your DAX code to create a Measure named Forecast to Actual % daily.

Forecast to Actual % daily =
DIVIDE ( SUM ( 'Forecast%'[Call Received] ), SUM ( 'Forecast%'[Forecast] ) )

vyilongmsft_1-1711680833585.png

I create a new measure and finally I get what you want.

Measure =
VAR _Div =
    DIVIDE ( SUM ( 'Forecast%'[Call Received] ), SUM ( 'Forecast%'[Forecast] ) )
RETURN
    IF (
        ISINSCOPE ( 'Forecast%'[SERVICE_NAME] ),
        _Div,
        SUMX ( 'Forecast%', [Forecast to Actual % daily] )
    )

vyilongmsft_2-1711680945725.png

 

 

 

Best Regards

Yilong 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
Anonymous
Not applicable

Hi @njxfoster ,

I create a table as you mentioned.

vyilongmsft_0-1711680675414.png

Then I use your DAX code to create a Measure named Forecast to Actual % daily.

Forecast to Actual % daily =
DIVIDE ( SUM ( 'Forecast%'[Call Received] ), SUM ( 'Forecast%'[Forecast] ) )

vyilongmsft_1-1711680833585.png

I create a new measure and finally I get what you want.

Measure =
VAR _Div =
    DIVIDE ( SUM ( 'Forecast%'[Call Received] ), SUM ( 'Forecast%'[Forecast] ) )
RETURN
    IF (
        ISINSCOPE ( 'Forecast%'[SERVICE_NAME] ),
        _Div,
        SUMX ( 'Forecast%', [Forecast to Actual % daily] )
    )

vyilongmsft_2-1711680945725.png

 

 

 

Best Regards

Yilong 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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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