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
santu1021
Helper II
Helper II

Total value - Sum of Value display

 

I have data like below, part number and various models sold (different rows) , I would like to see parts number vs sum of all models sold, Ex PART Number 7163743 and Sales Population 3418

Part Number : = OPC PN

OPC SN Prefix = Models

Sales Population = Each Model SoLD

 

 

Capture 2.PNG

 

This is how I would like to see , parts vs sum of all models sold (= All Population)

 

Capture3.PNG

2 ACCEPTED SOLUTIONS

Hi,

To your visual, drag OPC PN to the row labels, write this measure and drag it to the visual.

=SUM(Data[Sales population])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

v-eachen-msft
Community Support
Community Support

Hi @santu1021 ,

 

You could create a measure like the following DAX:

Measure =
CALCULATE ( SUM ( 'Table'[Sales] ), ALLEXCEPT ( 'Table', 'Table'[OPC PN] ) )

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

7 REPLIES 7
Syndicate_Admin
Administrator
Administrator

Hello. That happened to me and he only showed me the counts.

You can see that in the visualizations that shows it automatically, if they do not generate the sum automatically as you want; It is because the data is not in numerical format. What you should do is go to the data section...

CriMarTie_0-1672345296525.png

Select the column where you have the numeric data and change the data type

CriMarTie_1-1672345346681.png

v-eachen-msft
Community Support
Community Support

Hi @santu1021 ,

 

You could create a measure like the following DAX:

Measure =
CALCULATE ( SUM ( 'Table'[Sales] ), ALLEXCEPT ( 'Table', 'Table'[OPC PN] ) )

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
amitchandak
Super User
Super User

Your input data and output do not seem to have the relation. The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Sorry !! for not being clear on the explanation.

 

I have huge data, OPC PN Vs Each Individual model sold (= Sales population). See one sample below.

 

Capture4.PNG

 

I would like to see them OPC PN Vs Suom of model sold, like below.

 

Capture5.PNG

Hi,

To your visual, drag OPC PN to the row labels, write this measure and drag it to the visual.

=SUM(Data[Sales population])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Super User
Super User

Can you just put "OPC PN" and default aggregation sum of "Sales - Population" into a table visual and then rename the columns in the visual?

 

Or are you asking about the 8 year rolling or ?


@ 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...

Thank You !!

I'm not takeing about 8yrs roll-out - ingnore it.

Can you please send screen shots ? It is not clear for me.

 

Thank You,

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.