Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi I really need your help, I would like to calculate percentage from 2 calculated measure. however the percentage measure is not summing each row percentage instead applying the formula on the subtotal here is the document:
The percentage is showing 10% because the formula applied there , instead i just want to calculate 6%+3%+6$%+4%+8%+5%+4%+4%+5%+7%+4%+4%+3%=63%
here is the formula for percentage:
Solved! Go to Solution.
@bryanrendra , Try this out
DIVIDE(abs(([LatestPrice Excise]-[PreviousPrice Excise])),[PreviousPrice Excise],0)
Or Sumx(Values(Table[Group]),[Percentage])
Here group is your rows/axis/group by you used
@bryanrendra , Try this out
DIVIDE(abs(([LatestPrice Excise]-[PreviousPrice Excise])),[PreviousPrice Excise],0)
Or Sumx(Values(Table[Group]),[Percentage])
Here group is your rows/axis/group by you used
Hi your solution is fully work, thank you so much Mr. Amitchandak
thank you for your answer, but it gave me 0 % to the all of the rows
Maybe you could try this:
Percentage =
SUMX (
VALUES ( Table[ColumnInYourVisual] ),
IF (
[LatestPrice Excise] = 0,
0,
DIVIDE (
ABS ( [LatestPrice Excise] - [PreviousPrice Excise] ),
[PreviousPrice Excise],
0
)
)
)
Read up on the concepts of SUMX and HASONEVALUE.
I am really new to power bi, could you help me please?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |