Forum Discussion
Anonymous
4 years agoNot applicable
How To Use MOD
Merhabalar, PowerBI konusunda yeniyim ve bir konuda sorun yaşıyorum. Stok adetlerimi, mod formülü kullanarak "Mod Değeri" sütunumu oluşturdum. A = MOD(X , 4 , 0.2) => MOD(395 , 4 , 0,2) => 3 ...
- Anonymous4 years ago
Hi Anonymous ,
I think you can try this measure to create mod measure.
Mod = VAR _SUMMAIZRE = SUMMARIZE ( 'Table', 'Table'[Category], "Stok Adeti", CALCULATE ( SUM ( 'Table'[Stok Adeti] ) ) ) VAR _ADD_MOD = ADDCOLUMNS ( _SUMMAIZRE, "MOD", MOD ( [Stok Adeti], 4 ) ) RETURN SUMX ( _ADD_MOD, [MOD] )Kalan = SUM('Table'[Stok Adeti]) - [Mod]Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Anonymous ,
I think you can try this measure to create mod measure.
Mod =
VAR _SUMMAIZRE =
SUMMARIZE (
'Table',
'Table'[Category],
"Stok Adeti", CALCULATE ( SUM ( 'Table'[Stok Adeti] ) )
)
VAR _ADD_MOD =
ADDCOLUMNS ( _SUMMAIZRE, "MOD", MOD ( [Stok Adeti], 4 ) )
RETURN
SUMX ( _ADD_MOD, [MOD] )Kalan = SUM('Table'[Stok Adeti]) - [Mod]
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.