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.
maybe someone can clear up
I have a measure that simply divides 2 amount
Meausure = Divide( 'Table'[Amount1] - 'Table'[Amount2] , ABS( SUM( 'Table'[Amount2] ) ) )
using this measure works and super fast in performance, but.....
Measure 2 = Divide( 'Table'[Amount1] - 'Table'[Amount2] , ABS( SUM( 'Table'[Amount2] ) ) ) + 1
breaks visual and says I have exceeeded resources why?
Solved! Go to Solution.
Hi @Euro0681
+1 will force the engine to perform the calculation over all the rows of the visual. You may try
Measure3 =
IF (
NOT ISBLANK ( 'Table' ),
DIVIDE (
SUM ( 'Table'[Amount1] ) - SUM ( 'Table'[Amount2] ),
ABS ( SUM ( 'Table'[Amount2] ) )
) + 1
)
Hi @Euro0681
+1 will force the engine to perform the calculation over all the rows of the visual. You may try
Measure3 =
IF (
NOT ISBLANK ( 'Table' ),
DIVIDE (
SUM ( 'Table'[Amount1] ) - SUM ( 'Table'[Amount2] ),
ABS ( SUM ( 'Table'[Amount2] ) )
) + 1
)
Thanks! This works how does this measure work as opposed to the one I used??
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |