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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Summarize Column - TRICKY (show the over sum/count for each data point for each material_id)

Hi Experts

 

i have the following DAX as a starter for 10. 

Table = ADDCOLUMNS(
    SUMMARIZECOLUMNS(PMS_PARTS[Product],PMS_FINANCIAL_PDS[ROLL12_COMPLETE_PDS_IND],PMS_FINANCIAL_PDS[Month Start]),"CountComplaints",[PMSComplaintsMN],"p-value",[p-value],"Trend",[__trend],"Significance",[Significance Y])

I want to show in the CountcComplaints column the overall sum in each row of data for the same Material_ID for period Y so for 722039672 as shown below (see image) i want to show 419 as opposed to 40, 36,43 and so on for each dat that relates to period Y,X and W (ps the sum for X and W - will be different as x is 24month and W is 36 months)

 

sample file here, you can create a new table in the sample file.

https://www.dropbox.com/s/jj62h2vxtepm5yd/Sample__Test%281%29.pbix?dl=0

2 REPLIES 2
Greg_Deckler
Super User
Super User

I don't see the image. Can you post sample data as text and expected result? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


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

Capture.PNG

 

 

 

 

 

 

 

 

 

 

Expected Result 419 for each data point which is the sum of the above. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.