Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
I need some help here...
I need to create a measure that calculates cumulative values starting by currently month but sum the past values.
Example:
Thanks
Solved! Go to Solution.
@danielmorais Maybe:
Measure =
VAR __Today = TODAY()
VAR __Start = DATE(YEAR(__Today),MONTH(__Today),1)
VAR __Month = MAX('Table'[Month])
VAR __Table = FILTER(ALL('Table'),[Month] <= __Month)
RETURN
IF(__Month < __Start,0,SUMX(__Table,[Value]))
@danielmorais Maybe:
Measure =
VAR __Today = TODAY()
VAR __Start = DATE(YEAR(__Today),MONTH(__Today),1)
VAR __Month = MAX('Table'[Month])
VAR __Table = FILTER(ALL('Table'),[Month] <= __Month)
RETURN
IF(__Month < __Start,0,SUMX(__Table,[Value]))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |