Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
Ancak bu formülü kullandığım zaman sütun toplamı "0" = "C" geliyor.
Ayrıca "Kalan" sütunu içinde stok adetinden mod değerini çıkarıyorum.
B = X - A => 395 - 3 = 392
Ancak bu sütununda toplamı hatalı geliyor."Y"
Bu hataların önüne nasıl geçebilirim?
Solved! Go to Solution.
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.
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.
Merhaba,
what is your expected result for these columns? Do you want to sum up the remainders of the divisions for each row?
Note that the MOD function only accepts two parameters. Not sure what your 0.2 is about.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |