Forum Discussion
Anonymous
6 years agoNot applicable
SUMIF without Filter
Hi good people,
Need a help.
I have a measure
Shift A =
CALCULATE(
SUM('Database'[Actual Production (Carton)]), FILTER(Database,Database[Shift]="A")
)
I want to SUM [Actual Production (Carton)] where Shift is A but I also want to show all the other rows which does not have any value for Shift A. Currently this measure is filtering and showing only rows which has value for Shift A. How do i do it?
6 Replies
- amitchandakSuper User
Try
Shift A = CALCULATE( SUMX('Database', If(Database,Database[Shift]="A",[Actual Production (Carton)],0)) )Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin- AnonymousNot applicableTry this,
Sumx(table,if(table[col]="A",table[quantity],0))
Cheers,
Pravin
If it resolves your problem Mark it as solution and give Kudos.- AnonymousNot applicableCan you please share screenshot of issue.