Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Differents results in 2 differents visuals

Hi,

I create a calculated measure and the result is different in a table visual and a card visual. Here is the measure:

 

 

Pmp gross_date = 

 var BoisNet = CALCULATE(sumx(paquets;paquets[PMPR]);FILTER('end';'end'[DateCommande] = 1))
 var BoisGross = CALCULATE(ROUNDDOWN(sumx(paquets;paquets[PMPR]) * 1,08;0);FILTER('end';'end'[DateCommande] = 1))

 Return
if(or(SELECTEDVALUE(paquets[RefEtatBois]) = 6;SELECTEDVALUE(etatbois[RefEtatBois]) = 5);BoisNet;BoisGross)

The filter is because I choose a date to create the report. Here is the result:

 

The calculated measure in the column of the table visual and in the card visual (surrounded with red circle) is the same.

I don't understand why.

Thanks

2 Replies