Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
This seems extremely easy, but I can't for the life of me figure it out. I have a table of values with a DAX calculated column containing an amount and I'm trying to get the cumulative sum of those amounts less than or equal to <= a Percentile.INC measure (called IQR3) already calculated for the group of records. This cumulative sum total will change (as will the percentile) if filters/slicers are used on the data, ideally. The two formulas I've tried below only give the full cumulative total, not the total of amounts less than or equal to the IQR3 value.:
Solved! Go to Solution.
@mjgenesis Try:
CUMUL_SUM_HRC =
VAR __IQR3 = [IQR3]
VAR __Result = SUMX(FILTER('Table1', 'Table1'[Amount] <= __IRQ3), 'Table1'[Amount])
RETURN
__Result
If that doesn't work, paste some sample data.
@mjgenesis Try:
CUMUL_SUM_HRC =
VAR __IQR3 = [IQR3]
VAR __Result = SUMX(FILTER('Table1', 'Table1'[Amount] <= __IRQ3), 'Table1'[Amount])
RETURN
__Result
If that doesn't work, paste some sample data.
This worked. Thanks so much for the help. If it isn't too much trouble could you sum up why the formulas I was trying weren't working? I'm guessing the dynamic changing nature of the IQR and Amount variable requires a fixed use as a variable? Really appreciate it.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
14 | |
11 | |
7 |