Forum Discussion
gkakun
Helper III
8 years agoGroup By measure
Hi all, I have a problem with group by measure. I have a table called FOI- with Transaction ID (Unique), part number, Supplier Name, location of the part, failure reason, failure timestamp, ...
iamprajot
Responsive Resident
8 years agoit isn't clear from the snapshot, what is the issue but looks like MAX and Count cannot result in same value in Totals
gkakun
Helper III
8 years agoTge left table counts the number this part failed in the original table and the right table is the new table where you see the number failures of this spesific part is not correct. Its the same result if i dont use the max but dont summarize.
- iamprajot8 years ago
Responsive Resident
then isn't it correct as it counts when there are more than 2 instances. - gkakun8 years ago
Helper III
Hi, Thanks again for the support.
i think it may be issue with the formula since i cant see any Supplier in the supplier Name column.
This is the formula
Table = SUMMARIZE(FOI,FOI[IPN],"Supplier Name",IF( CALCULATE(COUNT(FOI[IPN]),FILTER(FOI,NOT(ISBLANK(FOI[IPN]))))>=2, CALCULATE(COUNT(FOI[IPN]),FILTER(FOI,NOT(ISBLANK(FOI[IPN])))),BLANK()))
In the "Supplier Name" column i see only the count of the part