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
Hi,
I have a question, I'm working with data that refers to the initiatives, each initiative has its buget but each of these initiatives could belongs to a one or more categories, how I can divide these total amount per category respecting the total of each initiative?
Solved! Go to Solution.
Hi @Anonymous ,
Here is my test data.
Then add the Budget column in the Table 2.
Budget =
CALCULATE (
SELECTEDVALUE ( 'Table'[Budget] ),
FILTER ( 'Table', 'Table'[Initiative] = 'Table (2)'[Initiative] )
)
Now you could use DIVIDE() function to get the result.
Measure =
VAR a =
CALCULATE (
AVERAGE ( 'Table'[Budget] ),
ALLEXCEPT ( 'Table', 'Table'[Initiative] )
)
VAR b =
CALCULATE (
AVERAGE ( 'Table (2)'[Budget] ),
ALLEXCEPT ( 'Table (2)', 'Table (2)'[Catagory] )
)
RETURN
DIVIDE ( b, a )
Hi @Anonymous ,
Here is my test data.
Then add the Budget column in the Table 2.
Budget =
CALCULATE (
SELECTEDVALUE ( 'Table'[Budget] ),
FILTER ( 'Table', 'Table'[Initiative] = 'Table (2)'[Initiative] )
)
Now you could use DIVIDE() function to get the result.
Measure =
VAR a =
CALCULATE (
AVERAGE ( 'Table'[Budget] ),
ALLEXCEPT ( 'Table', 'Table'[Initiative] )
)
VAR b =
CALCULATE (
AVERAGE ( 'Table (2)'[Budget] ),
ALLEXCEPT ( 'Table (2)', 'Table (2)'[Catagory] )
)
RETURN
DIVIDE ( b, a )
Do you have an example of your dataset and your desired results? I don't fully understand what you are trying to achieve.
Proud to be a Super User!
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 | |
| 48 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 116 | |
| 38 | |
| 36 | |
| 27 |