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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Asha_2021
Frequent Visitor

Get sum of values from two entries in a column and apply that sum to another table column entry

Details:

Hi 

 

Asha_2021_0-1632534372211.png

I need value for for Bulk Geocoder row  : 

Asha_2021_1-1632534529453.png

this value  needs to calculated by summing up two entries coming from CPM View Extract(2) table , look for last column values, if we sum these two values, then that will be the value for AWS sum table Bulk Geocoder entry

Asha_2021_2-1632534658651.png

 

How to sum these two entry value  from  CPM View Extract(2) table  and assign it to the single entry Bulk Geocoder in AWS Sum table.

Pls help

 

@heaher_iTalent  @Greg_Deckler 

 

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @Asha_2021 ,

 

Based on my understanding,you could create a calculated column similarly as below:

Column =
SWITCH (
    'Table'[Application name ],
    "bulk geocoder",
        SUMX (
            FILTER ( 'Table (2)', 'Table (2)'[Ord Application name ] = "e" ),
            'Table (2)'[value1]
        )
            + SUMX (
                FILTER ( 'Table (2)', 'Table (2)'[Ord Application name ] = "f" ),
                'Table (2)'[value1]
            )
)

And you will see:

vkellymsft_1-1632814109007.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

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

 

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @Asha_2021 ,

 

Based on my understanding,you could create a calculated column similarly as below:

Column =
SWITCH (
    'Table'[Application name ],
    "bulk geocoder",
        SUMX (
            FILTER ( 'Table (2)', 'Table (2)'[Ord Application name ] = "e" ),
            'Table (2)'[value1]
        )
            + SUMX (
                FILTER ( 'Table (2)', 'Table (2)'[Ord Application name ] = "f" ),
                'Table (2)'[value1]
            )
)

And you will see:

vkellymsft_1-1632814109007.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

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

 

Greg_Deckler
Super User
Super User

@Asha_2021 You mentione "last column values". What indicates that the column values are "last"?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors