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.
Good Day,
I am needing to a do a rolling total by year and location. If I filter it down to one location I get the correct results but having all locations selected in the column chart it gives wonky numbers. Can someone help me?
I currently have this formula
to get the rolling total and
IF I have all locations filtered
Filtering one location = correct results
Start adding more locations and it will start getting all wonky.
Solved! Go to Solution.
@Anonymous Try:
Better RT =
VAR __Date = MAX('Assets'[Created_Date])
VAR __Location = MAX('Assets'[MC's (2) Branch_Location])
VAR __Table = FILTER(ALLSELECTED('Assets'),[Created_Date] <= __Date && [MC's (2) Branch_Location] = __Location)
RETURN
SUMX(__Table,[Status Bit])
@Anonymous Try:
Better RT =
VAR __Date = MAX('Assets'[Created_Date])
VAR __Location = MAX('Assets'[MC's (2) Branch_Location])
VAR __Table = FILTER(ALLSELECTED('Assets'),[Created_Date] <= __Date && [MC's (2) Branch_Location] = __Location)
RETURN
SUMX(__Table,[Status Bit])
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 |
---|---|
41 | |
26 | |
20 | |
14 | |
8 |
User | Count |
---|---|
76 | |
47 | |
46 | |
17 | |
16 |