cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Analitika
Post Prodigy
Post Prodigy

Wrong sum in total

Hello,

 

I am getting wrong sum in table visual:

 

Analitika_0-1686208325430.png

Values and sum 

Analitika_1-1686208362560.png

In excel I am getting 0 in power BI 1839. So how to resolve this issue? I also used this measure: 

 

sum_fix = IF(HASONEFILTER('N08-Klientai'[N08_PAV]),[day_range6],SUMX(VALUES('N08-Klientai'[N08_PAV]),[day_range6]))

 

 

And still total sum is wrong.

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @Analitika ,

 

Please try this measure.

total_Measure =
SUMX(
    SUMMARIZE(
        'Table',
        'Table'[RowName],
        'Table'[ColumnName],//If there are no rows or columns, please delete
        "total",[your measure]
    ),
    [total]
)

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. 

 

 

miTutorials
Responsive Resident
Responsive Resident

Watch this to fix incorrect total in measure.

 

How to fix Incorrect Measure Total in PowerBI | MiTutorials - YouTube

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors