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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I need help with Power Bi function.
So I have columnz with many numbers that are sometimes repeated.
Factor = columnx/columny
I want to calculate column that shows factor for specific number in columnz not for row.
columnz for 213 (2+6+15)/(2+2+3) = 3,28
columnz | columnx | columny | Factor |
213 | 2 | 2 | 3,28 |
213 | 6 | 2 | 3,28 |
213 | 15 | 3 | 3,28 |
214 | 20 | 4 | 3,5 |
214 | 8 | 4 | 3,5 |
215 | 4 | 2 | 2 |
216 | 18 | 9 | 2,36 |
216 | 8 | 2 | 2,36 |
I have the biggest problem to make caclucation for specific number from columnz. Do you know how to calculate it?
Thanks,
Aleks
Solved! Go to Solution.
Hi @Anonymous ,
You could use this column
Factor =
CALCULATE (
DIVIDE (
SUM ( 'Table'[Columnx] ),
SUM ( 'Table'[Columny] )
),
ALLEXCEPT (
'Table',
'Table'[Columnz]
)
)
Hi @Anonymous ,
You could use this column
Factor =
CALCULATE (
DIVIDE (
SUM ( 'Table'[Columnx] ),
SUM ( 'Table'[Columny] )
),
ALLEXCEPT (
'Table',
'Table'[Columnz]
)
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 51 | |
| 42 | |
| 29 | |
| 22 |
| User | Count |
|---|---|
| 142 | |
| 121 | |
| 56 | |
| 37 | |
| 32 |