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
loki03
New Member

In matrix visual - I need sum in total field instead of average

I need the sum of the actual weighted KPI to be 58.15 and not 11.40. Is there a possibility to alter this?I need the sum of the actual weighted KPI to be 58.15 and not 11.40. Is there a possibility to alter this?

2 ACCEPTED SOLUTIONS
danextian
Super User
Super User

Hi @loki03 ,

 

Assuming that the granularity of the Actual Weighted KPI measure is based on the LookupValue column, you can create a virtual summary table of the items within that column plus the corresponding kpi and use SUMX to sum those kpi values. Measure would go like this:

=
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[LookupValue],
        "Actual Weighted KPI", [Actual Weighted KPI measure]
    ),
    [Actual Weighted KPI]
)

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

v-zhangti
Community Support
Community Support

Hi, @loki03 

 

You can try the following methods.

Measure = IF(HASONEVALUE('Table'[LookupVlaue]),[Actual Weighted KPI],SUMX('Table',[Actual Weighted KPI]))

vzhangti_0-1687159578288.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @loki03 

 

You can try the following methods.

Measure = IF(HASONEVALUE('Table'[LookupVlaue]),[Actual Weighted KPI],SUMX('Table',[Actual Weighted KPI]))

vzhangti_0-1687159578288.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

danextian
Super User
Super User

Hi @loki03 ,

 

Assuming that the granularity of the Actual Weighted KPI measure is based on the LookupValue column, you can create a virtual summary table of the items within that column plus the corresponding kpi and use SUMX to sum those kpi values. Measure would go like this:

=
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[LookupValue],
        "Actual Weighted KPI", [Actual Weighted KPI measure]
    ),
    [Actual Weighted KPI]
)

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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