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
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
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.