Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
Solved! Go to Solution.
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.
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 )
)
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 , 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.
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...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |