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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Mniknejad
Frequent Visitor

distinct sum

I have two table one is a dim item like this 

 

ItemKEYItemNumberProductNameColorDescriptionSizeORDERNUMBERID
46-07-2XL46ITEMABlue2XL887799
46-07-2XS46ITEMABlue2XS287775
46-07-3XL46ITEMABlue3XL987802
46-07-L46ITEMABlueL687791
46-07-M46ITEMABlueM587787
46-07-S46ITEMABlueS487783
46-07-XL46ITEMABlueXL787795
46-07-XS46ITEMABlueXS387779
46-11-2XL46ITEMARed2XL887671
46-11-2XS46ITEMARed2XS287646
46-11-3XL46ITEMARed3XL987675
46-11-L46ITEMARedL687663
46-11-M46ITEMARedM587659
46-11-S46ITEMARedS487654
46-11-XL46ITEMARedXL787667
46-11-XS46ITEMARedXS387650

 

another is fact like this 

ItemKey  colorItemIDSizeInventoryDateamount
46-11-2XS11462XS2020-04-200
46-11-2XS11462XS2020-04-210
46-11-S1146S2020-04-202
46-11-S1146S2020-04-211
46-11-2XS11462XS2020-04-200
46-11-2XS11462XS2020-04-210
46-11-3XL11463XL2020-04-201
46-11-3XL11463XL2020-04-211
46-07-S746S2020-04-200
46-07-S746S2020-04-213
46-11-3XL11463XL2020-04-201
46-11-3XL11463XL2020-04-211
46-11-XL1146XL2020-04-201
46-11-XL1146XL2020-04-211
46-11-M1146M2020-04-2013
46-11-M1146M2020-04-211
46-7-XS746XS2020-04-201
46-07-XS746XS2020-04-211

 

these are joined on ItemKey and Itemkey is unique base on itemid,color and size but when I wanted to show  total Sum like this 

NAMETotal amount 
ItemA665

this is what I can get 

NAMETotal amount 
ItemA10
ItemA235
ItemA10
ItemA10
ItemA25
ItemA5
ItemA15
ItemA90
ItemA125
ItemA25
ItemA100
ItemA5
ItemA5
ItemA5

Do you know what 's my issue ?

4 REPLIES 4
harshnathani
Community Champion
Community Champion

@Mniknejad ,

 

This is working fine with value as sum.

 

123.JPG1234.JPG

 

 

Regards,

Harsh Nathani

Hi @Mniknejad ,

 

Did the solution work for you.

 

Please mark as solution for other community members to benefit.

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

nandukrishnavs
Community Champion
Community Champion

@Mniknejad 

 

It seems like your default summarization is "Don't summarize". You have to choose Sum.

 

Please refer to this link https://docs.microsoft.com/en-us/power-bi/service-aggregates

 



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

it's sum

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.