Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I have a inconvenent to obtein one calculated column doing two operations, one of sum and other of division as I show in this image:
Resulted must be agregated to one table of visualization type matriz.
In the before picture the operation is for each row:
Row 1) 41 * 18 / 253 = 3 (value is round)
Row 2) 100 * 18 / 253 = 7
Row 3) 103 * 18 / 253 = 7
Row 4) 9 * 18 / 253 = 1
Note: Column CxIndex and #Pac Fallecidos are obteined with a messure for each one.
Solved! Go to Solution.
Place this measure in the table visual you show above
Measure =
VAR aux1_ = CALCULATE ( [CxIndex], ALL ( Table1[Grupo_Etario] ) )
VAR aux2_ = CALCULATE ( [Pac Fallecidos], ALL ( Table1[Grupo_Etario] ) )
RETURN
SUMX (
DISTINCT ( Table1[Grupo_Etario] ),
ROUND ( DIVIDE ( [CxIndex] * aux2_, aux1_ ), 0 )
)
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Place this measure in the table visual you show above
Measure =
VAR aux1_ = CALCULATE ( [CxIndex], ALL ( Table1[Grupo_Etario] ) )
VAR aux2_ = CALCULATE ( [Pac Fallecidos], ALL ( Table1[Grupo_Etario] ) )
RETURN
SUMX (
DISTINCT ( Table1[Grupo_Etario] ),
ROUND ( DIVIDE ( [CxIndex] * aux2_, aux1_ ), 0 )
)
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
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 |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 121 | |
| 118 | |
| 38 | |
| 36 | |
| 29 |