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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
aamirkhan_WT
Helper II
Helper II

When I sum the value in the table it showing wrong value

Hi All

 

I need urgent help in below qurey where I am getting wrong value in the table. Its supposed to show 78 adding all the number in the table

78 = if I export that same table to CSV and add it up78 = if I export that same table to CSV and add it up
Dax Query

Total Version_Update = IF(
    HASONEFILTER(
        WH_WorkflowConfiguration[Workflow (Detailed)]),[Total Versions],
        SUMX(
            VALUES(Activity[Activity ID]),[Total Versions])
            )
1 ACCEPTED SOLUTION
MohammadLoran25
Solution Sage
Solution Sage

New Measure
VAR _TABLEE =
ADDCOLUMNS (
VALUES ( 'DDate'[YearMonth] ),
"@MYMEASURE", [Total Version_Update]
)
RETURN
SUMX ( _TABLEE, [@MYMEASURE] )

 

Hi

It is about the context and DAX Behavior for showing results in total context.

Writing a new measure like above-mentioned format would definitely solve your problem.

But I have to mention that it is not the best solution as I do not have the details of your data and data modeling.

 

Best Regards

View solution in original post

4 REPLIES 4
MohammadLoran25
Solution Sage
Solution Sage

New Measure
VAR _TABLEE =
ADDCOLUMNS (
VALUES ( 'DDate'[YearMonth] ),
"@MYMEASURE", [Total Version_Update]
)
RETURN
SUMX ( _TABLEE, [@MYMEASURE] )

 

Hi

It is about the context and DAX Behavior for showing results in total context.

Writing a new measure like above-mentioned format would definitely solve your problem.

But I have to mention that it is not the best solution as I do not have the details of your data and data modeling.

 

Best Regards

aamirkhan_WT
Helper II
Helper II

AS per above query it show like this below 
Capture.PNG

 

In the table it showing wrong total. Now its showing in the Total 2 and it supposed to be 3 

You can do the same for this problem as well.

Is there any suggent how add those value 2+1 = 3

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors