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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Agent47
Helper I
Helper I

In two visuals, same parameters are used, but sum is not showing correctly.

Here are two visuals side by side . They use the same parameters , Vessel_Name , Control Type and Measure_Ra_SUM_2.

Vessel_Name 

Agent47_0-1732686471906.png

 

Control Type 

Agent47_1-1732686522488.png

Measure_RA_SUM2

Measure_RA_SUM2 =
CALCULATE(
    DISTINCTCOUNT('Risk Assesment'[Ra_Code]),
    REMOVEFILTERS('Consequences'[Control_Type]),
    VALUES('Consequences'[Control_Type])
)

The total value is not showing the Row Total , other than that all values are matching . Any help is welcome @rajendraongole1  @lbendlin @FreemanZ 


Screenshot 2024-11-27 111039.png

3 REPLIES 3
Anonymous
Not applicable

Hi @Agent47 ,

 

Thanks FreemanZ  for the quick reply. I have some thoughts to add:

You can create a new measure and then place the new measure on the visual object.

Measure = 
SUMX(
    SUMMARIZE(
        'Table',
       'Table'[VESSEL_NAME],
        'Table'[Control_Type],
        "total",[Measure_RA_SUM2]),
    [total]
)

vtangjiemsft_0-1732859321131.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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

FreemanZ
Community Champion
Community Champion

Hi @Agent47 ,,

 

try like:

 

Measure_RA_SUM2 =
SUMX(
VALUES(TableName[Control Type]),
CALCULATE(
DISTINCTCOUNT('Risk Assesment'[Ra_Code]),
REMOVEFILTERS('Consequences'[Control_Type]),
VALUES('Consequences'[Control_Type])
)
)

Thank you for your help @FreemanZ  . Unfortunately , the total is not correct still .

Agent47_0-1732698500454.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.