Forum Discussion
jdtobon88
4 years agoHelper I
add values differently
Cheers, I have a table with the production history of some specific references in the plant. I need to make the sum of the references but within them there are production processes where each on...
- 4 years ago
Hi
I finally solved it with another method.
DistinctCantidades =MAXX(DISTINCT(FactReportehoras[OrdenRef]),MAX(FactReportehoras[CantTerminada]))Cantidad Fabricada = SUMX(DISTINCT(FactReportehoras[OrdenRef]),[DistinctCantidades])and the metric " Cantidad Fabricada" is the one that I take to the table and it brings me the unique values so they are repeated within the exercise.
Greg_Deckler
4 years agoCommunity Champion
jdtobon88 Use AVERAGE? Need some context here. Maybe MM3TR&R - Matrix Measure Total Triple Threat Rock & Roll - Microsoft Power BI Community
- jdtobon884 years agoHelper I
Hi
I finally solved it with another method.
DistinctCantidades =MAXX(DISTINCT(FactReportehoras[OrdenRef]),MAX(FactReportehoras[CantTerminada]))Cantidad Fabricada = SUMX(DISTINCT(FactReportehoras[OrdenRef]),[DistinctCantidades])and the metric " Cantidad Fabricada" is the one that I take to the table and it brings me the unique values so they are repeated within the exercise.