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 am calculating Growth based on two measures and conditions, I am able to see the calculation in the column but am unable get a total of the same column. Any help would be appreciated.
Measure:
Solved! Go to Solution.
This is because the measure [PY TTM M-1] = 493.2633.663 in the total row, since this does not equal zero, the if statement returns FALSE, hence = 0.
If you want to sum over the Growth then you could do something like this. I did not test this so there might be spelling errors.
Growth 2 = IF( HASONEVALUE([Global Customer Number]), [Growth], SUMX( ADDCOLUMNS( SUMMERIZE( myTable, myTable[Global Customer Number] ), "growth val", [Growth] ), [growth val] )
@Anonymous
Put calculate in front of the if statement:
This is because the measure [PY TTM M-1] = 493.2633.663 in the total row, since this does not equal zero, the if statement returns FALSE, hence = 0.
If you want to sum over the Growth then you could do something like this. I did not test this so there might be spelling errors.
Growth 2 = IF( HASONEVALUE([Global Customer Number]), [Growth], SUMX( ADDCOLUMNS( SUMMERIZE( myTable, myTable[Global Customer Number] ), "growth val", [Growth] ), [growth val] )
I tried your solution but I ran into memory issues since my dataset is large. Is there a workaround?
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |