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! Learn more

Reply
jprousseau
Frequent Visitor

Help with to Total a Measure of a Measure total

Hi there

 

can someone please help me with to total a measure of a measured column.

 

The m_DailyTarget which is a multiplication of 2 measues does not want to add up in total column.

 

Please see the screenshot of all the dax and fields.

 

Thanks

jprousseau_1-1616580983306.png

 

1 ACCEPTED SOLUTION
Angith_Nair
Continued Contributor
Continued Contributor

Hi @jprousseau ,

Change three measures like this..

 

 

m_DaysSelected = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ( DISTINCTCOUNT ( NBAdminTasks[completiontime - Date only] ) )
)


m_DailyTarget = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ([m_DaysSelected]* [m_DailyTasks])
)


m_AveTaskTarget% = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ([m_TaskCount]/[m_DailyTarget] *100 )
)

 

 

Please find the pbix file here .
If this works then please mark this as a solution. Appreciate with Kuddos.

View solution in original post

8 REPLIES 8
Angith_Nair
Continued Contributor
Continued Contributor

Hi @jprousseau ,

Change three measures like this..

 

 

m_DaysSelected = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ( DISTINCTCOUNT ( NBAdminTasks[completiontime - Date only] ) )
)


m_DailyTarget = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ([m_DaysSelected]* [m_DailyTasks])
)


m_AveTaskTarget% = 
SUMX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ([m_TaskCount]/[m_DailyTarget] *100 )
)

 

 

Please find the pbix file here .
If this works then please mark this as a solution. Appreciate with Kuddos.

Thank you it worked. Just changed the last measure to AVERAGEX

 

m_AveTaskTarget% = 
AVERAGEX (
    VALUES ( NBAdminTasks[assignedtodisplayname] ),
    CALCULATE ([m_TaskCount]/[m_DailyTarget] *100 )
)

 

Angith_Nair
Continued Contributor
Continued Contributor

Hi @jprousseau ,

Try to use this measure...

 

m_DailyTarget =
SUMX ( NBAdminTasks, 'NBAdminTasks'[m_DaysSelected] * [m_DailyTasks] )

m_AveTaskTarget% =
AVERAGEX ( NBAdminTasks, [m_TaskCount] / [m_DailyTarget] )

If this works, kindly mark it as a solution. Appreciate with kuddos.

 

 

not working 

jprousseau_0-1616594633975.png

 

amitchandak
Super User
Super User

@jprousseau , can you share the formula in text format

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Where can i copy/drop the file to?

Thanks

You can upload it to google drive or dropbox or One drive and share the link here...

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