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
I have defined the following measure in DAX:
_3_Cotas = CALCULATE(([value1] + [value2]), ALL('Calendar'[Date]), 'Calendar'[Date] <= MAX('Calendar'[Date]))
Despite there being no negative values in the entire database, the measure occasionally shows decreasing points. It's worth noting that both 'value1' and 'value2' are integer values derived from other measures.
Hi @marcus_pinheiro ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
hi, @marcus_pinheiro
_3_Cotas = CALCULATE(([value1] + [value2]), ALL('Calendar'[Date]), 'Calendar'[Date] <= MAX('Calendar'[Date]))
here first you remove filter context of calender[date] and then you compare with same filter context of Calendar'[Date] <= MAX('Calendar'[Date]). it's might problem here
so you want to ignore filter of calender[date] or want to remove filter context of calender[date].
if you want to running sum of ([value1] + [value2] then it work using blow code
_3_Cotas = CALCULATE(([value1] + [value2]), 'Calendar'[Date] <= MAX('Calendar'[Date]))
This doesn't work.
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |