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
Anonymous
Not applicable

Power BI get one value from duplicates

 

Hi there,

 

I do have data as followed...

 

Reference Number     Amount     

A123                               100

A123                                100

A123                                100

A124                                 200

A125                                 300

--------------------------------

Total                                800

 

I would like to have data as showed in the below

 

Reference Number     Amount     

A123                               100

 

A124                                 200

A125                                 300

--------------------------------

Total                                600

 

Thank you

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

Hi @Anonymous

If you want to change the dataset model, you could go to Edit queries->Home->remove rows->remove duplicates.

If you want to keep your original table and get a table structure like this to build a visual.

You could create a new table with this formula

Table 2 = SUMMARIZE(ALL('Table'),[number],[amount])

6.png Table        7.pngTable2

 

Best Regards

Maggie

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

If you want to change the dataset model, you could go to Edit queries->Home->remove rows->remove duplicates.

If you want to keep your original table and get a table structure like this to build a visual.

You could create a new table with this formula

Table 2 = SUMMARIZE(ALL('Table'),[number],[amount])

6.png Table        7.pngTable2

 

Best Regards

Maggie

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.