The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Everyone,
I got an issue getting the exact value in report, below are the calculations and measures I have used
format for calculation1 is percentage and decimal value is 2
a) Calculation1 is a measure
b) Measure 1 is another measure and formula is
Measure 1 = CALCULATE (
SUM( Table [AMOUNT] ),
FILTER ( Table, Table[TAX] <> 0 || Table[TAX] <> BLANK() )
)
c) Calculation1 = (SUM(Table[Column 1])/[Measure 1])
example value : sum of Table[Column 1] = 443193.258213 and Measure 1 value = 6259604.89 so
443193.258213 / 6259604.89 = 0.07080211 (ie 7.08)
but in power bi report I'm getting the value as 7.12%
Solved! Go to Solution.
Hi @Charu
Try this
Calculation1 = VAR mymeasure = [Measure 1] RETURN SUM ( Table[Column 1] ) / mymeasure
Hi @Charu
Try this
Calculation1 = VAR mymeasure = [Measure 1] RETURN SUM ( Table[Column 1] ) / mymeasure
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
30 |
User | Count |
---|---|
95 | |
74 | |
67 | |
52 | |
51 |