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 am trying to get grand totals at the bottom of Category 1 in PowerBI, so far I have been unsuccessful. Can someone point the error out
Category 1 = If(%Salary/Desired Salary < .90, Difference, 0)
It does not give me a total of -30,000. I would want to know what the total difference is going to be
Solved! Go to Solution.
Hi @nniphadk,
I done this using 2 measures and a calculated column give this a try...😎
2 measures
Difference = SUMX('Table A', 'Table A'[Salary] - 'Table A'[Desired Salary])
% Difference = SUMX('Table A', 'Table A'[Salary]/'Table A'[Desired Salary])
Calculated column
Difference < 90 = SWITCH(
TRUE(),
[% Difference] < 0.90, [Difference],
0
)
If @Len_Barr solution doesn't work give this a bash...
Many thanks,
Taylor 😊
Hi @nniphadk,
I done this using 2 measures and a calculated column give this a try...😎
2 measures
Difference = SUMX('Table A', 'Table A'[Salary] - 'Table A'[Desired Salary])
% Difference = SUMX('Table A', 'Table A'[Salary]/'Table A'[Desired Salary])
Calculated column
Difference < 90 = SWITCH(
TRUE(),
[% Difference] < 0.90, [Difference],
0
)
If @Len_Barr solution doesn't work give this a bash...
Many thanks,
Taylor 😊
Circular dependency was detected
Hi @nniphadk ,
It needs to be laid out with the 2 measures and the 1 calculated column above, I'm assuming you've made one of the measures that was suppose to be a measure a calculated column?😊 If you want them all as columns then change them all to a calculated column and it will work else just follow the layout I sent previously.
Many Thanks,
Taylor 😎
Easy as.
I'm assuming you are using a table visual.
Go to Format your visual - Totals - toggle on
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 |
---|---|
76 | |
76 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |