Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I need help calculating the % of grand total based on a variable calculation in an asymetical matrix.
Here is my table values that I need to calculate on:
Essentially, I need to divide 834655.70/69945935.43 striped across the entire table to get what percentage of the over 90 that is in the total grouping. The problem I'm having is that I'm using variables to create these columns, in an asymetrical matrix and there doesn't seem to be a way to strip the grand total (69945935.43) across the entire grouping to then use that value in a DIVIDE funcation. SUM and SUMX both look for a table, but I'm using a variable. Do I need to create a table from my variable and if so, how do I do that?
Here's my code to calculate the columns:
EatbTotal is the variable that contains the grand total (denominator) and Over90 is the numerator.
Any ideas how I can do this?
Solved! Go to Solution.
So, I actually figured this out. I had to create a seperate measure entirely that striped the total by group across the column and then use that measure in my variable calculation.
And then in the Values to Display measure:
So, I actually figured this out. I had to create a seperate measure entirely that striped the total by group across the column and then use that measure in my variable calculation.
And then in the Values to Display measure:
@jodyclaggett Could you just do this?
DisplayItem = 12, Over90 / EatbTotal,
That gives me % over 90 for the row, but not the grand total for the Total column. That is effectively Total/Over 90 Days whereas I need the Grand Total of Total/Over 90 days.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |