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.
Hello.
I need help. I need to see the mesuare accumulated
I the mesuare is:
AccumulatedYTD =
CALCULATE (
[ADR Month], FILTER (ALL (Calendar), Calendar [Date] <= MAX (Calendar [Date])))
([ADR Month] is another mesuare = ((Sum(RoomNigths))/(Sum(Reveneus)))
Thanks!
Solved! Go to Solution.
@rcister I am thinking:
AccumulatedYTD =
VAR __Table =
ADDCOLUMNS(
FILTER(ALL('Calendar'), Calendar[Date] <= MAX('Calendar'[Date])),
"__ADRMonth",[ADR Month]
)
RETURN
SUMX(__Table,[__ADRMonth])
Hi,
Does this measure work:
AccumulatedYTD = CALCULATE([ADR Month],DATESBETWEEN(Calendar [Date],MINX(ALL(CALENDAR),calendar[date]),max(calendar[date])))
Ensure that on the X-axis of your visual, you drag Year and Month from the Calendar Table.
Hi,
Does this measure work:
AccumulatedYTD = CALCULATE([ADR Month],DATESBETWEEN(Calendar [Date],MINX(ALL(CALENDAR),calendar[date]),max(calendar[date])))
Ensure that on the X-axis of your visual, you drag Year and Month from the Calendar Table.
@rcister I am thinking:
AccumulatedYTD =
VAR __Table =
ADDCOLUMNS(
FILTER(ALL('Calendar'), Calendar[Date] <= MAX('Calendar'[Date])),
"__ADRMonth",[ADR Month]
)
RETURN
SUMX(__Table,[__ADRMonth])
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 |
---|---|
107 | |
94 | |
77 | |
63 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |