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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
hjansen1976
New Member

calculate CO2

Morning, 

 

Maybe one of you experts could help me out with the following 

 

I have  the following table and would like to calculate the following

Table: 

Field0    field 1   field 2 field 3

1             xyz        200     1.000

2             xyz        300     1.000     

3             xxx        400        500

4             yyy       200        200

5             yyy       100        200

6             abc       150       300

7             bbb      150       300

 

The derised outcome/matrix: 

        field 1     field3

        xyz         1000

        xxx          500

        yyy          200

        abc         300

        bbb        300

Total              2300

So only show field 1 the unique values ( so no doubles) and field 3 the value that belongs to that unique value. And very important a total field for field 3. 

 

Your help is greatly appreciated! 

 

 

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @hjansen1976 ,

 

You can create a new table with below code:-

 

Table 2 = SUMMARIZE('Table','Table'[field 1],'Table'[field 3])

 

Output:-

Samarth_18_0-1641977025622.png

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

2 REPLIES 2
Samarth_18
Community Champion
Community Champion

Hi @hjansen1976 ,

 

You can create a new table with below code:-

 

Table 2 = SUMMARIZE('Table','Table'[field 1],'Table'[field 3])

 

Output:-

Samarth_18_0-1641977025622.png

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Many thanks for your help!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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